diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2014-12-03 23:17:16 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2014-12-03 23:17:16 (GMT) |
commit | 8694763c10584bbaed0097318fcaa55a7b86425a (patch) | |
tree | e08948ee7f431d6bd49ae4a3034133c8c12bd562 /generic | |
parent | 730a9a132cbd0a3b3ff36b842957b1cda50ed3a6 (diff) | |
download | tcl-8694763c10584bbaed0097318fcaa55a7b86425a.zip tcl-8694763c10584bbaed0097318fcaa55a7b86425a.tar.gz tcl-8694763c10584bbaed0097318fcaa55a7b86425a.tar.bz2 |
test and fix (thx dgp)
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCompCmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c index 18f4564..4e7ef97 100644 --- a/generic/tclCompCmds.c +++ b/generic/tclCompCmds.c @@ -3373,7 +3373,7 @@ TclPushVarName( nameChars = p - varTokenPtr[1].start; elName = p + 1; remainingChars = (varTokenPtr[2].start - p) - 1; - elNameChars = (varTokenPtr[n].start-p) + varTokenPtr[n].size - 2; + elNameChars = (varTokenPtr[n].start-p) + varTokenPtr[n].size - 1; if (remainingChars) { /* |