summaryrefslogtreecommitdiffstats
path: root/generic/tkImgGIF.c
diff options
context:
space:
mode:
authorredman <redman>1999-07-01 00:39:38 (GMT)
committerredman <redman>1999-07-01 00:39:38 (GMT)
commitb25a3044a3cf9e9972515d62b1210ab9f48542de (patch)
treed6929409d78b4fb5eb9279cff651a5b7217fb203 /generic/tkImgGIF.c
parentdc805df6643379e019ae55d9932aea6a3d58c05c (diff)
downloadtk-b25a3044a3cf9e9972515d62b1210ab9f48542de.zip
tk-b25a3044a3cf9e9972515d62b1210ab9f48542de.tar.gz
tk-b25a3044a3cf9e9972515d62b1210ab9f48542de.tar.bz2
Patches from Bug: 2068 2080 2269
Diffstat (limited to 'generic/tkImgGIF.c')
-rw-r--r--generic/tkImgGIF.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 88edfa8..dc29baa 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -27,7 +27,7 @@
* | provided "as is" without express or implied warranty. |
* +-------------------------------------------------------------------+
*
- * RCS: @(#) $Id: tkImgGIF.c,v 1.3 1999/04/16 01:51:15 stanton Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.4 1999/07/01 00:39:44 redman Exp $
*/
/*
@@ -263,6 +263,7 @@ FileReadGIF(interp, chan, fileName, formatString, imageHandle, destX, destY,
block.offset[0] = 0;
block.offset[1] = 1;
block.offset[2] = 2;
+ block.offset[3] = 0;
nBytes = height * block.pitch;
block.pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);