Spelling fixes
This commit is contained in:
@@ -174,7 +174,7 @@ static void ilInitEncodeTable (
|
||||
/* Operation:
|
||||
If this is the first character in the string the current node is set
|
||||
to the top level of the tree. Otherwise we will transition to the next
|
||||
level in the tree and search for an occurance of the character there.
|
||||
level in the tree and search for an occurrence of the character there.
|
||||
if one is found we return with TRUE. If not the new node will be
|
||||
added to the tree and FALSE will be returned.
|
||||
Return:
|
||||
|
||||
@@ -69,7 +69,7 @@ ilError error;
|
||||
If not the same, do ilConvert() to that format (recurse!), exit if error.
|
||||
*/
|
||||
switch (pCvtData->srcFormatCode) {
|
||||
case IL_DONT_CHECK_STD_FORMAT: /* filter converts format: dont check */
|
||||
case IL_DONT_CHECK_STD_FORMAT: /* filter converts format: don't check */
|
||||
break;
|
||||
|
||||
case IL_STD_FORMAT_BIT:
|
||||
|
||||
@@ -205,7 +205,7 @@ CARD32 outLong;
|
||||
errorAcc += 3 * *pPrevError; /* 3 * error above right */
|
||||
errorAcc >>= 4; /* /16 */
|
||||
errorAcc += *pSrc++ ^ invert; /* + "x"; w/ blackIsZero handled */
|
||||
if (errorAcc >= 128) /* output white: dont set out bit */
|
||||
if (errorAcc >= 128) /* output white: don't set out bit */
|
||||
errorAcc -= 255; /* sub value of white from errorAcc */
|
||||
else /* output black: errorAcc -= 0 */
|
||||
outLong |= mask;
|
||||
|
||||
@@ -64,7 +64,7 @@ typedef struct {
|
||||
ilPtr pRGBMapPixels; /* ptr to pixels in rgbMapImage if non-null */
|
||||
ilRect rect; /* piece of X image to read */
|
||||
long stripHeight; /* height of each piece of drawable to read */
|
||||
int copyPixmapDepth; /* depth for copyPixmap, or 0 => dont create */
|
||||
int copyPixmapDepth; /* depth for copyPixmap, or 0 => don't create */
|
||||
Pixmap copyPixmap; /* pixmap to copy to/GetImage() from or null */
|
||||
GC copyGC; /* GC to use to copy to "copyPixmap" */
|
||||
int nRedOnes;
|
||||
|
||||
@@ -240,7 +240,7 @@ register ilError returnCode;
|
||||
}
|
||||
}
|
||||
else {
|
||||
/* Dont have a strip's worth in buffer. If beingRecalled, then some lines
|
||||
/* Don't have a strip's worth in buffer. If beingRecalled, then some lines
|
||||
have been read out from beginning of buffer by next element. Copy the
|
||||
the lines above that point down to the beginning of the buffer, and
|
||||
set srcLine to the line past them.
|
||||
@@ -285,7 +285,7 @@ register ilError returnCode;
|
||||
}
|
||||
else pData->srcLine += nLines;
|
||||
|
||||
/* Dont have strip's worth, need more lines: if all lines read, write a
|
||||
/* Don't have strip's worth, need more lines: if all lines read, write a
|
||||
short final strip, otherwise write 0 lines and wait for more lines to
|
||||
come in, written to pData->srcLine.
|
||||
*/
|
||||
|
||||
@@ -267,7 +267,7 @@ register ilTapPrivPtr pPriv;
|
||||
imageInfo.pCompData = info.pCompData;
|
||||
imageInfo.width = info.width;
|
||||
imageInfo.height = info.height;
|
||||
imageInfo.clientPalette = TRUE; /* dont allocate anything */
|
||||
imageInfo.clientPalette = TRUE; /* don't allocate anything */
|
||||
imageInfo.clientCompData = TRUE;
|
||||
imageInfo.clientPixels = TRUE;
|
||||
if (!(feedImage = ilCreateClientImage (context, &imageInfo, 0))
|
||||
|
||||
@@ -635,7 +635,7 @@ ilYCbCrInfo *pYCbCr; /* null if not YCbCr ; else -> des...YCb
|
||||
break;
|
||||
|
||||
/* Parse group 3 TIFF options, assumed to be 0 if not present.
|
||||
As per TIFF spec, dont support if any unrecognized bits are not 0.
|
||||
As per TIFF spec, don't support if any unrecognized bits are not 0.
|
||||
Note that "group3CompData" is set to 0 below if comp = 2 (TIFF G3).
|
||||
*/
|
||||
case GROUP_3_OPTIONS:
|
||||
@@ -1000,7 +1000,7 @@ register ilBool bigEndian;
|
||||
|
||||
ilFreeFileList (pFile); /* remove potential invalid image list */
|
||||
|
||||
/* Dont have image list - read file and build the list. When done,
|
||||
/* Don't have image list - read file and build the list. When done,
|
||||
pFile->IFDTailPtrOffset points to the "next IFD" ptr which is null, i.e.
|
||||
the next IFD ptr for the last image in the file. For a file with no images
|
||||
that would be the ptr in the file header.
|
||||
|
||||
@@ -1071,7 +1071,7 @@ char versionName [VERSION_LENGTH];
|
||||
|
||||
/* JPEG: write JIF with restart markers between strips.
|
||||
For JIF-in-TIFF: add tags for a file ptr and length of the JIF image,
|
||||
and the restart interval, but dont know value until JIF image received.
|
||||
and the restart interval, but don't know value until JIF image received.
|
||||
*/
|
||||
case IL_JPEG:
|
||||
jpegProc = 1; /* baseline sequential process */
|
||||
|
||||
@@ -574,7 +574,7 @@ register long nPixelsM1;
|
||||
case 1: {
|
||||
register ilPtr pDst, pSrc1, pSrc2;
|
||||
|
||||
nLines--; /* dont count first line already in buffer */
|
||||
nLines--; /* don't count first line already in buffer */
|
||||
while (nLines >= 2) { /* two src lines, line between to interpolate */
|
||||
nLines -= 2;
|
||||
pSrc1 = pLine;
|
||||
@@ -605,7 +605,7 @@ register long nPixelsM1;
|
||||
register int pixel, delta;
|
||||
long rowBytesTimes4 = rowBytes << 2;
|
||||
|
||||
nLines--; /* dont count first line already in buffer */
|
||||
nLines--; /* don't count first line already in buffer */
|
||||
while (nLines >= 4) { /* four src lines, line between to interpolate */
|
||||
nLines -= 4;
|
||||
pSrc = pLine;
|
||||
|
||||
@@ -111,7 +111,7 @@ ilError error;
|
||||
}
|
||||
else error = IL_OK;
|
||||
|
||||
/* If aborting, free up pixels if they dont belong to client */
|
||||
/* If aborting, free up pixels if they don't belong to client */
|
||||
if (aborting) {
|
||||
if (!pImage->i.clientPixels && pImagePlane->pPixels) {
|
||||
IL_FREE (pImagePlane->pPixels);
|
||||
@@ -203,7 +203,7 @@ ilSrcElementData srcData;
|
||||
long stripHeight;
|
||||
ilPtr pCompData;
|
||||
|
||||
/* Get pipe info, dont force decompression (yet). */
|
||||
/* Get pipe info, don't force decompression (yet). */
|
||||
ilGetPipeInfo (pipe, FALSE, &info, &des, &format);
|
||||
|
||||
/* Convert (and decompress) as necessary to dest image des */
|
||||
|
||||
Reference in New Issue
Block a user