diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-05 13:03:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-05 13:03:22 (GMT) |
commit | ca692c25e794ecf3331faf24768f69a838b32900 (patch) | |
tree | 92859838396d648063a8b2de87532b940528d730 /generic/tkEntry.c | |
parent | 2feaf00ad478173ca2542802f4821bda8b5b57cd (diff) | |
parent | b38ed5b362e85be991db22a2d7059b14b3772db4 (diff) | |
download | tk-ca692c25e794ecf3331faf24768f69a838b32900.zip tk-ca692c25e794ecf3331faf24768f69a838b32900.tar.gz tk-ca692c25e794ecf3331faf24768f69a838b32900.tar.bz2 |
Fix [2100430]: ttk::entry widget index must be integer
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r-- | generic/tkEntry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c index 1244273..f68e1a3 100644 --- a/generic/tkEntry.c +++ b/generic/tkEntry.c @@ -2560,7 +2560,7 @@ GetEntryIndex( case '@': { int x, roundUp, maxWidth; - if (Tcl_GetInt(interp, string + 1, &x) != TCL_OK) { + if (Tcl_GetInt(NULL, string + 1, &x) != TCL_OK) { goto badIndex; } if (x < entryPtr->inset) { @@ -2589,7 +2589,7 @@ GetEntryIndex( break; } default: - if (Tcl_GetInt(interp, string, indexPtr) != TCL_OK) { + if (Tcl_GetInt(NULL, string, indexPtr) != TCL_OK) { goto badIndex; } if (*indexPtr < 0){ |