Spelling fixes
This commit is contained in:
@@ -950,7 +950,7 @@ _DtHelpCeFindCcdfId (
|
||||
* retParent Returns a string with the locationID for the
|
||||
* topic which is the parent of the current
|
||||
* topic. If the current topic is at the top of
|
||||
* the heirarchy, a NULL string is returned.
|
||||
* the hierarchy, a NULL string is returned.
|
||||
* This string is NOT owned by the caller and
|
||||
* should only be read or copied.
|
||||
*
|
||||
@@ -1392,7 +1392,7 @@ _DtHelpCeGetCcdfDocStamp (
|
||||
*
|
||||
* Parameters: vol Specifies the loaded volume.
|
||||
* topic Returns the locationID for the top topic in
|
||||
* the volume heirarchy. This string is NOT
|
||||
* the volume hierarchy. This string is NOT
|
||||
* owned by the caller and should only be read or
|
||||
* copied.
|
||||
*
|
||||
|
||||
@@ -1081,7 +1081,7 @@ _DtHelpCeGetCcdfValueParam(
|
||||
* CEErrorReadEmpty
|
||||
* CEErrorIllegalInfo
|
||||
*
|
||||
* Purpose: Move 'src_ptr' to the next occurrance of a > character
|
||||
* Purpose: Move 'src_ptr' to the next occurrence of a > character
|
||||
* or the first character after the next space.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@@ -915,7 +915,7 @@ static void HitListFree(
|
||||
vol->startPosition = 1;
|
||||
vol->nextVolPosition = 1;
|
||||
|
||||
/* dont free indexXmStrsList here because they
|
||||
/* don't free indexXmStrsList here because they
|
||||
are reused for every search on this volume */
|
||||
vol->curIndexXmStr = vol->indexXmStrsList;
|
||||
|
||||
@@ -1269,7 +1269,7 @@ static _DtHelpFileEntry GetNextSearchFileAndDisplayCompleted(
|
||||
{
|
||||
VolHitsDisplay(hw,curFile);
|
||||
|
||||
/* update the volume label to show state; False--dont insert */
|
||||
/* update the volume label to show state; False--don't insert */
|
||||
VolNameDisplay(hw,curFile,False);
|
||||
}
|
||||
}
|
||||
@@ -2016,7 +2016,7 @@ static void PrepSearchSourceData(
|
||||
&& NULL != hw->help_dialog.srch.volListHead )
|
||||
return; /* RETURN: continue with search */
|
||||
|
||||
/* if searching full index, False=dont free vol with full index */
|
||||
/* if searching full index, False=don't free vol with full index */
|
||||
if (hw->help_dialog.srch.fullIndex)
|
||||
HitListFreeAllVolHits(hw,False);
|
||||
/* else we're searching on the same word, but completed
|
||||
@@ -2156,7 +2156,7 @@ static void CloseSearchCB (
|
||||
srch->workProcId = 0;
|
||||
}
|
||||
|
||||
/* unmanage the srchForm dialog but dont destroy it */
|
||||
/* unmanage the srchForm dialog but don't destroy it */
|
||||
if (NULL != srch->srchForm)
|
||||
{
|
||||
XtUnmanageChild(srch->srchForm);
|
||||
@@ -2257,7 +2257,7 @@ static void StatusLabelUpdate(
|
||||
break; /* BREAK */
|
||||
case SEARCH_RESULTS_STATUS:
|
||||
/* if no hits found */
|
||||
if (hw->help_dialog.srch.hitsFound == False) /*dont use == True*/
|
||||
if (hw->help_dialog.srch.hitsFound == False) /*don't use == True*/
|
||||
{
|
||||
if (hw->help_dialog.srch.fullIndex)
|
||||
{
|
||||
@@ -3079,9 +3079,9 @@ searchComplete:
|
||||
* will always be the help widget.
|
||||
*****************************************************************************/
|
||||
static void StartSearchCB(
|
||||
Widget w, /* dont use */
|
||||
Widget w, /* don't use */
|
||||
XtPointer clientData,
|
||||
XtPointer callData) /* dont use */
|
||||
XtPointer callData) /* don't use */
|
||||
{
|
||||
char *srchWord = NULL;
|
||||
DtHelpDialogWidget hw = (DtHelpDialogWidget) clientData;
|
||||
@@ -3141,7 +3141,7 @@ static void StartSearchCB(
|
||||
|
||||
hw->help_dialog.srch.searchInProgress = True;
|
||||
|
||||
/* dont free srchWord */
|
||||
/* don't free srchWord */
|
||||
|
||||
/* turn on "Stop" label */
|
||||
UpdateActionButtonLabel(hw,NULL,False);
|
||||
@@ -3604,7 +3604,7 @@ static void ProcessResultSelectionCB(
|
||||
vol->showHitsWithVol = False;
|
||||
}
|
||||
/* update the volume label to show the state */
|
||||
/* False: dont insert hw item */
|
||||
/* False: don't insert hw item */
|
||||
VolNameDisplay(hw,file,False);
|
||||
}
|
||||
/* else don't otherwise handle a 0-hits volume */
|
||||
@@ -3624,7 +3624,7 @@ static void ProcessResultSelectionCB(
|
||||
topicCnt = - HitTopicsUndisplay(hw,file,hit,topicPosition+1);
|
||||
hit->showTopicsWithHit = False;
|
||||
}
|
||||
/* update the hit label to show the state; False--dont insert */
|
||||
/* update the hit label to show the state; False--don't insert */
|
||||
HitNameDisplay(hw,file,hit,topicPosition,False);
|
||||
|
||||
/* add to all the following */
|
||||
|
||||
@@ -52,7 +52,7 @@ const char _DtHelpMsg_0000[] =
|
||||
"String data could not be formatted.";
|
||||
|
||||
const char _DtHelpMsg_0001[] =
|
||||
"Dymamic string data could not be formated.";
|
||||
"Dymamic string data could not be formatted.";
|
||||
|
||||
const char _DtHelpMsg_0002[] =
|
||||
"Man Page could not be formatted. The requested Man Page is either not present, or corrupt.";
|
||||
|
||||
@@ -591,7 +591,7 @@ void _DtHelpUpdatePrintDialog(
|
||||
fontList = XmFontListCopy (fontList);
|
||||
#endif
|
||||
|
||||
/* get formated volume title; volumeString is owned by caller */
|
||||
/* get formatted volume title; volumeString is owned by caller */
|
||||
_DtHelpFormatVolumeTitle(help->pDisplayArea,display->volumeHandle,
|
||||
&volumeString,&fontList,&mod);
|
||||
|
||||
@@ -706,7 +706,7 @@ void _DtHelpDisplayPrintDialog(
|
||||
}
|
||||
else
|
||||
{
|
||||
/* update the variable contents of the dialog; dont set defaults */
|
||||
/* update the variable contents of the dialog; don't set defaults */
|
||||
_DtHelpUpdatePrintDialog(print,display,help,False);
|
||||
}
|
||||
|
||||
|
||||
@@ -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