diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-04-18 12:47:38 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-04-18 12:47:38 (GMT) |
commit | 63d55485eb9be2e21c911bdc78e0367d8d7ecb2c (patch) | |
tree | 80450d56ce49849889e9233fac6643a3589623a0 /win/ttkWinXPTheme.c | |
parent | c6eb4388bed08a7f24b9de6cd12d1500cab024ca (diff) | |
download | tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.zip tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.tar.gz tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.tar.bz2 |
Missed more than a few TIP 660 changes. Possibly more to come.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index d464ba2..5ee9384 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1145,7 +1145,7 @@ Ttk_CreateVsapiElement( enum { O_HALFHEIGHT, O_HALFWIDTH, O_HEIGHT, O_MARGINS, O_PADDING, O_SYSSIZE, O_WIDTH }; - if (objc + 1 < 3) { + if (objc < 2) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "missing required arguments 'class' and/or 'partId'", TCL_INDEX_NONE)); Tcl_SetErrorCode(interp, "TTK", "VSAPI", "REQUIRED", NULL); |