diff options
author | dgp <dgp@users.sourceforge.net> | 2016-04-20 16:44:13 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-04-20 16:44:13 (GMT) |
commit | 1bbd13e8395085f6afe23f0ac7d7cc91eae3cade (patch) | |
tree | deba5d0dcb60194537aea304ca412bd52ef3c1b6 /generic/tclIO.c | |
parent | 66032e8a327e0498b0d8970307452f66c69be25c (diff) | |
parent | 049650b5952e5e5ee1997772750450305dccc6d7 (diff) | |
download | tcl-1bbd13e8395085f6afe23f0ac7d7cc91eae3cade.zip tcl-1bbd13e8395085f6afe23f0ac7d7cc91eae3cade.tar.gz tcl-1bbd13e8395085f6afe23f0ac7d7cc91eae3cade.tar.bz2 |
Merge 8.6.5little
Diffstat (limited to 'generic/tclIO.c')
-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 15b37b0..ef79aaf 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -6425,7 +6425,7 @@ TranslateInputEOL( break; default: /* In other modes, at most 2 src bytes become a dst byte. */ - if (srcLen > 2 * dstLen) { + if (srcLen/2 > dstLen) { srcLen = 2 * dstLen; } break; |