diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-03 15:46:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-03 15:46:57 (GMT) |
commit | d6e7246b215b507e14e2653aaeaa12804a31166b (patch) | |
tree | 7d90923a65e071c2e19ff6df8f06391592300381 /unix/tkUnixButton.c | |
parent | cccc9d7b90108183daca454616fc6f97147f0bdd (diff) | |
download | tk-d6e7246b215b507e14e2653aaeaa12804a31166b.zip tk-d6e7246b215b507e14e2653aaeaa12804a31166b.tar.gz tk-d6e7246b215b507e14e2653aaeaa12804a31166b.tar.bz2 |
More -1 -> TCL_INDEX_NONE
Diffstat (limited to 'unix/tkUnixButton.c')
-rw-r--r-- | unix/tkUnixButton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c index 5f84e72..8222fca 100644 --- a/unix/tkUnixButton.c +++ b/unix/tkUnixButton.c @@ -384,7 +384,7 @@ TkpDrawCheckIndicator( } snprintf(script, scriptSize, cmdFmt, imgName, svgDataCopy); ckfree(svgDataCopy); - code = Tcl_EvalEx(interp, script, -1, TCL_EVAL_GLOBAL); + code = Tcl_EvalEx(interp, script, TCL_INDEX_NONE, TCL_EVAL_GLOBAL); ckfree(script); if (code != TCL_OK) { Tcl_BackgroundException(interp, code); |