summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-03-07 15:10:44 (GMT)
committersebres <sebres@users.sourceforge.net>2018-03-07 15:10:44 (GMT)
commitf337281f750a928dcc07884286cc1f4cceeab809 (patch)
tree7bb89725611d1094a5dcbc80bce2395aa78ae610
parent7fe003f8d24f263ca82d1ddf0a54f6ab16f01306 (diff)
downloadtcl-f337281f750a928dcc07884286cc1f4cceeab809.zip
tcl-f337281f750a928dcc07884286cc1f4cceeab809.tar.gz
tcl-f337281f750a928dcc07884286cc1f4cceeab809.tar.bz2
amend to [58716e0e92]: now the duplication is really pointless, so eliminated
-rw-r--r--generic/tclListObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 13704b9..786e1ce 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -1149,7 +1149,7 @@ TclLindexList(
int indexCount = -1; /* Size of the array of list indices. */
Tcl_Obj **indices = NULL; /* Array of list indices. */
- Tcl_ListObjGetElements(NULL, indexListCopy, &indexCount, &indices);
+ TclListObjGetElements(NULL, indexListCopy, &indexCount, &indices);
listPtr = TclLindexFlat(interp, listPtr, indexCount, indices);
}
Tcl_DecrRefCount(indexListCopy);