summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-08-02 19:10:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-08-02 19:10:42 (GMT)
commita60bfb46d87ed7ffc7ee74237eb0da034bada891 (patch)
treef161e2c5794d244cff3d51bf01ff28f07ecae7f7 /generic
parent139a16b098ab207dc158af8922f8245d770e5bd3 (diff)
parent70b7db3aaec9652af6037f4950c1f93f6293c073 (diff)
downloadtk-a60bfb46d87ed7ffc7ee74237eb0da034bada891.zip
tk-a60bfb46d87ed7ffc7ee74237eb0da034bada891.tar.gz
tk-a60bfb46d87ed7ffc7ee74237eb0da034bada891.tar.bz2
merge 8.6
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImgGIF.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 1c28b54..be90f06 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -1571,6 +1571,7 @@ Fread(
}
memcpy(dst, handle->data, (size_t) (hunk * count));
handle->data += hunk * count;
+ handle->length -= hunk * count;
return (int)(hunk * count);
}