diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-14 11:16:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-14 11:16:52 (GMT) |
commit | ea5beb5b384263ed1b94344281de3232efef0dd0 (patch) | |
tree | fa76e282012fa2a3b10877a7484aef3eca07a6dc /generic/tkImgBmap.c | |
parent | 626d7152122d3acfc5eafe232d0b81a4cbda5141 (diff) | |
parent | ad861a0433fe3325ce081e6df2b40ed7fd670fe9 (diff) | |
download | tk-ea5beb5b384263ed1b94344281de3232efef0dd0.zip tk-ea5beb5b384263ed1b94344281de3232efef0dd0.tar.gz tk-ea5beb5b384263ed1b94344281de3232efef0dd0.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r-- | generic/tkImgBmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c index a77b9b8..4cc98b5 100644 --- a/generic/tkImgBmap.c +++ b/generic/tkImgBmap.c @@ -1082,7 +1082,7 @@ GetByte( size_t size; size = Tcl_Read(chan, &buffer, 1); - if ((size + 1) < 2) { + if (size != 1) { return EOF; } else { return buffer; |