summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index 95532d3..f28e651 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -1163,7 +1163,7 @@ InfoFrameCmd(
lastPtr = runPtr;
runPtr = runPtr->nextPtr;
}
- if (lastPtr && !runPtr) {
+ if (lastPtr && (runPtr != NULL)) {
lastPtr->nextPtr = corPtr->caller.cmdFramePtr;
}
}