diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-15 18:55:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-15 18:55:40 (GMT) |
commit | 2c6df21a22544260bc790e12db7c701c7653d376 (patch) | |
tree | 3ca1975f0f5ea52919dd11f5f9b3d7a2695cbbdb /generic/ttk | |
parent | fe2b267ee9d5dff5839a3d018e8a200c2dd368ba (diff) | |
download | tk-2c6df21a22544260bc790e12db7c701c7653d376.zip tk-2c6df21a22544260bc790e12db7c701c7653d376.tar.gz tk-2c6df21a22544260bc790e12db7c701c7653d376.tar.bz2 |
Use more size_t internally, comparable with TIP #494 but then in Tk. Eliminate unnecessary type casts
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkTheme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c index 342b16a..595effd 100644 --- a/generic/ttk/ttkTheme.c +++ b/generic/ttk/ttkTheme.c @@ -142,7 +142,7 @@ static const Tk_OptionSpec *TTKGetOptionSpec( /* Make sure widget option has a Tcl_Obj* entry: */ - if (optionSpec->objOffset < 0) { + if (optionSpec->objOffset == TCL_AUTO_LENGTH) { return 0; } |