summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--generic/tkImgGIF.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index f3f805c..ece0897 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2003-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+ * generic/tkImgGIF.c (GetDataBlock): Removed pointless static
+ variable ZeroDataBlock [Bug #664788]
+
* unix/tkUnixFont.c (CanUseFallback): Added argument, passed
through from callers to FindSubFontForChar(), so that pointers
into the old subfont table to be updated when that table is
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index b34365e..1f4a79b 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -29,7 +29,7 @@
* | provided "as is" without express or implied warranty. |
* +-------------------------------------------------------------------+
*
- * RCS: @(#) $Id: tkImgGIF.c,v 1.23 2003/02/18 14:03:46 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.24 2003/02/20 15:28:40 dkf Exp $
*/
/*
@@ -743,8 +743,6 @@ DoExtension(chan, label, transparent)
return count;
}
-static int ZeroDataBlock = 0;
-
static int
GetDataBlock(chan, buf)
Tcl_Channel chan;
@@ -756,8 +754,6 @@ GetDataBlock(chan, buf)
return -1;
}
- ZeroDataBlock = count == 0;
-
if ((count != 0) && (! ReadOK(chan, buf, count))) {
return -1;
}