summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-10 08:42:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-10 08:42:43 (GMT)
commitda5c2b08af1531f171e79ee0d09a5288eabbec46 (patch)
tree38775495b0b57457df9be9a6a02b804955ba7da2 /generic/tclEvent.c
parent58aa27c456e8787c6b178a0c68265201b6803c74 (diff)
downloadtcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.zip
tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.gz
tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.bz2
Same with TclListObjGetElements
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index f3a5b39..21647e4 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -220,7 +220,7 @@ HandleBgErrors(
errPtr = assocPtr->firstBgPtr;
- Tcl_ListObjGetElements(NULL, copyObj, &prefixObjc, &prefixObjv);
+ TclListObjGetElements(NULL, copyObj, &prefixObjc, &prefixObjv);
tempObjv = (Tcl_Obj**)Tcl_Alloc((prefixObjc+2) * sizeof(Tcl_Obj *));
memcpy(tempObjv, prefixObjv, prefixObjc*sizeof(Tcl_Obj *));
tempObjv[prefixObjc] = errPtr->errorMsg;