summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixButton.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-03 15:46:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-03 15:46:57 (GMT)
commitd6e7246b215b507e14e2653aaeaa12804a31166b (patch)
tree7d90923a65e071c2e19ff6df8f06391592300381 /unix/tkUnixButton.c
parentcccc9d7b90108183daca454616fc6f97147f0bdd (diff)
downloadtk-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.c2
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);