summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-06-26 17:26:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-06-26 17:26:16 (GMT)
commitd586d955ce5e6ebbd9b670d848ef7c4f4935f9f3 (patch)
treeb5e212dfb779209820eb8ff03cd01ffa9e810843 /generic
parentc7c23a434e6d12f8fb64b778470ecb18cccf783e (diff)
downloadtcl-d586d955ce5e6ebbd9b670d848ef7c4f4935f9f3.zip
tcl-d586d955ce5e6ebbd9b670d848ef7c4f4935f9f3.tar.gz
tcl-d586d955ce5e6ebbd9b670d848ef7c4f4935f9f3.tar.bz2
Correct typo detected by valgrind.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclExecute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 98f1ed8..d3a0d32 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2766,7 +2766,7 @@ TEBCresume(
*/
auxObjList->length += objc - 1;
- if ((objc > 1) && (auxObjList-length > 0)) {
+ if ((objc > 1) && (auxObjList->length > 0)) {
length = auxObjList->length /* Total expansion room we need */
+ codePtr->maxStackDepth /* Beyond the original max */
- CURR_DEPTH; /* Relative to where we are */