summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2007-11-19 18:49:58 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2007-11-19 18:49:58 (GMT)
commit7d8887a5c1131402a85c7ef45899e28b85561a91 (patch)
tree3955729456b455c13e33b835751e6723f0fb8359 /generic/ttk
parent86ca756db7520c030a65f1198ee3a1b8443270ec (diff)
downloadtk-7d8887a5c1131402a85c7ef45899e28b85561a91.zip
tk-7d8887a5c1131402a85c7ef45899e28b85561a91.tar.gz
tk-7d8887a5c1131402a85c7ef45899e28b85561a91.tar.bz2
Fixed crash bug in style element create
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkTheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c
index 74ffcf0..de63d71 100644
--- a/generic/ttk/ttkTheme.c
+++ b/generic/ttk/ttkTheme.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * $Id: ttkTheme.c,v 1.7 2007/11/08 01:40:25 jenglish Exp $
+ * $Id: ttkTheme.c,v 1.8 2007/11/19 18:49:59 patthoyts Exp $
*/
#include <stdlib.h>
@@ -1460,7 +1460,7 @@ static int StyleElementCreateCmd(
FactoryRec *recPtr;
if (objc < 5) {
- Tcl_WrongNumArgs(interp, 5, objv, "name type ?options...?");
+ Tcl_WrongNumArgs(interp, 3, objv, "name type ?options...?");
return TCL_ERROR;
}