diff options
author | dgp <dgp@users.sourceforge.net> | 2014-02-18 18:26:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-02-18 18:26:22 (GMT) |
commit | e3b160fb968cfca1ba3255292e5583bd0bf3e37d (patch) | |
tree | 42e5c1f0055dbbd53aae59d1aa1f6ddfa6dbfae8 | |
parent | abe90f6c1b82d92b9e000f861edde447cf1d7863 (diff) | |
download | tcl-e3b160fb968cfca1ba3255292e5583bd0bf3e37d.zip tcl-e3b160fb968cfca1ba3255292e5583bd0bf3e37d.tar.gz tcl-e3b160fb968cfca1ba3255292e5583bd0bf3e37d.tar.bz2 |
Refactor correction exposed by coverage test.
-rw-r--r-- | generic/tclIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 20101c2..01af6dc 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -8826,7 +8826,7 @@ CopyAndTranslateBuffer( } TranslateInputEOL(statePtr, result, RemovePoint(bufPtr), &copied, &bytesInBuffer); - bufPtr->nextRemoved += copied; + bufPtr->nextRemoved += bytesInBuffer; #else copied = 0; switch (statePtr->inputTranslation) { |