diff options
author | aspect <aspect+tclcore@abstracted-spleen.org> | 2015-02-19 06:29:18 (GMT) |
---|---|---|
committer | aspect <aspect+tclcore@abstracted-spleen.org> | 2015-02-19 06:29:18 (GMT) |
commit | bb005f26e422eead94be19f7b3a781bb64828aee (patch) | |
tree | 9cb4de7478016fb71cad253e51fe5ac11d28d3b6 /generic/tclCompCmdsGR.c | |
parent | b8674e42d217b1b7ed6d7a1d89dc42a59902b108 (diff) | |
download | tcl-bb005f26e422eead94be19f7b3a781bb64828aee.zip tcl-bb005f26e422eead94be19f7b3a781bb64828aee.tar.gz tcl-bb005f26e422eead94be19f7b3a781bb64828aee.tar.bz2 |
undo erroneous change in [1fa2e32e07]
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r-- | generic/tclCompCmdsGR.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c index e7f6473..b77c43c 100644 --- a/generic/tclCompCmdsGR.c +++ b/generic/tclCompCmdsGR.c @@ -1551,7 +1551,7 @@ TclCompileLreplaceCmd( idx1 = 0; goto replaceTail; } else { - if (idx1 >= 0 && idx2 > 0 && idx2 < idx1) { + if (idx1 > 0 && idx2 > 0 && idx2 < idx1) { idx2 = idx1 - 1; } else if (idx1 < 0 && idx2 < 0 && idx2 < idx1) { idx2 = idx1 - 1; |