summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-06-19 21:54:16 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-06-19 21:54:16 (GMT)
commit5accf3865ae114a47ca85045b1a9d21018d8aaaa (patch)
tree992e569378e6eef5cad7ad9fa4268dd90480b930
parent3f6dba15f382ad6bd51a3cfffa43075d00874848 (diff)
downloadtk-5accf3865ae114a47ca85045b1a9d21018d8aaaa.zip
tk-5accf3865ae114a47ca85045b1a9d21018d8aaaa.tar.gz
tk-5accf3865ae114a47ca85045b1a9d21018d8aaaa.tar.bz2
Typos
-rw-r--r--generic/tkImgGIF.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 9d11631..69aa02f 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -32,7 +32,7 @@
* This file also contains code from miGIF. See lower down in file for the
* applicable copyright notice for that portion.
*
- * RCS: @(#) $Id: tkImgGIF.c,v 1.27 2005/06/19 21:49:08 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.28 2005/06/19 21:54:16 dkf Exp $
*/
/*
@@ -1099,7 +1099,7 @@ GetCode(chan, code_size, flag, gifConfPtr)
*/
gifConfPtr->reader.bytes =
GetDataBlock(gifConfPtr, chan, gifConfPtr->workingBuffer);
- gifConfPtr->reader.c = gifConfPtr->reader.workingBuffer;
+ gifConfPtr->reader.c = gifConfPtr->workingBuffer;
if (gifConfPtr->reader.bytes <= 0) {
gifConfPtr->reader.done = 1;
break;
@@ -1462,7 +1462,7 @@ CommonWriteGIF(interp, handle, format, blockPtr)
Tcl_Obj *format;
Tk_PhotoImageBlock *blockPtr;
{
- GifWriteState state, *statePtr = &state;
+ GifWriterState state, *statePtr = &state;
int resolution;
long width, height, x;
unsigned char c;
@@ -1826,11 +1826,11 @@ static void
writeBlock(statePtr)
miGIFState_t *statePtr;
{
- int i;
unsigned char c;
#ifdef MIGIF_DEBUGGING_ENVARS
if (MIGIF_VERBOSE) {
+ int i;
printf("writeBlock %d:", statePtr->oblen);
for (i=0 ; i<statePtr->oblen ; i++) {
printf(" %02x", statePtr->oblock[i]);
@@ -2083,7 +2083,7 @@ runlengthFlushWithTable(statePtr, count)
}
maxOutputClear(statePtr);
for (; repmax>0 ; repmax--) {
- outputPlain(statPtr,
+ outputPlain(statePtr,
statePtr->runlengthBaseCode + statePtr->runlengthTableMax - 2);
}
if (leftover) {