diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-18 16:24:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-18 16:24:41 (GMT) |
commit | 8ce6115cf59c570acf00e2ac58a26235288ad90f (patch) | |
tree | 53e0377d639f50ca434d6a5a21691ddfb293f448 /generic/tclScan.c | |
parent | 81060c07412ccbaaedbf1a76cd7291b26416a024 (diff) | |
download | tcl-8ce6115cf59c570acf00e2ac58a26235288ad90f.zip tcl-8ce6115cf59c570acf00e2ac58a26235288ad90f.tar.gz tcl-8ce6115cf59c570acf00e2ac58a26235288ad90f.tar.bz2 |
3 times -1 -> TCL_INDEX_NONE
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index ee04165..67fe6f3 100644 --- a/generic/tclScan.c +++ b/generic/tclScan.c @@ -1089,7 +1089,7 @@ Tcl_ScanObjCmd( if (code == TCL_OK) { if (underflow && (nconversions == 0)) { if (numVars) { - TclNewIntObj(objPtr, -1); + TclNewIntObj(objPtr, TCL_INDEX_NONE); } else { if (objPtr) { Tcl_SetListObj(objPtr, 0, NULL); |