Last of the spelling fixed
This commit is contained in:
@@ -138,7 +138,7 @@ static const char *Period = ".";
|
||||
*
|
||||
* errno Values:
|
||||
*
|
||||
* Purpose: To check for the existance of a volume.
|
||||
* Purpose: To check for the existence of a volume.
|
||||
*
|
||||
******************************************************************************/
|
||||
static int
|
||||
|
||||
@@ -408,7 +408,7 @@ GetResourceStringArray (
|
||||
valArray = (char **) _DtHelpCeAddPtrToArray (
|
||||
(void **) valArray, (void *) token);
|
||||
/*
|
||||
* If we malloc'ed ourselves out of existance...stop processing.
|
||||
* If we malloc'ed ourselves out of existence...stop processing.
|
||||
*/
|
||||
if (!valArray)
|
||||
break;
|
||||
@@ -1146,7 +1146,7 @@ _DtHelpCeGetCcdfKeywordList (
|
||||
(void **) vol->keywordTopics,
|
||||
(void *) topics);
|
||||
/*
|
||||
* If we just malloc'ed ourselves out of existance...
|
||||
* If we just malloc'ed ourselves out of existence...
|
||||
* stop here.
|
||||
*/
|
||||
if (vol->keywords == 0 || vol->keywordTopics == 0)
|
||||
@@ -1177,7 +1177,7 @@ _DtHelpCeGetCcdfKeywordList (
|
||||
topics = (char **) _DtHelpCeAddPtrToArray ((void **) topics,
|
||||
(void *) token);
|
||||
/*
|
||||
* If we just malloc'ed ourselves out of existance
|
||||
* If we just malloc'ed ourselves out of existence
|
||||
* stop here.
|
||||
*/
|
||||
if (topics == NULL)
|
||||
|
||||
@@ -564,7 +564,7 @@ ProcessEntry (
|
||||
(void **) vol->keywordTopics,
|
||||
(void *) topics);
|
||||
/*
|
||||
* If we just malloc'ed ourselves out of existance...
|
||||
* If we just malloc'ed ourselves out of existence...
|
||||
* stop here.
|
||||
*/
|
||||
if (vol->keywords == 0 || vol->keywordTopics == 0)
|
||||
|
||||
@@ -764,7 +764,7 @@ _DtHelpVertScrollCB(
|
||||
if (pDAS->firstVisible == callBack->value)
|
||||
return;
|
||||
|
||||
/* If a drag occured, reset the reason to increment, decrement, page */
|
||||
/* If a drag occurred, reset the reason to increment, decrement, page */
|
||||
/* increment, or page decrement depending on the distance and direction */
|
||||
/* dragged. */
|
||||
if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED)
|
||||
@@ -900,7 +900,7 @@ _DtHelpHorzScrollCB(
|
||||
if (pDAS->virtualX == callBack->value)
|
||||
return;
|
||||
|
||||
/* If a drag occured, reset the reason to increment, decrement, page */
|
||||
/* If a drag occurred, reset the reason to increment, decrement, page */
|
||||
/* increment, or page decrement depending on the distance and direction */
|
||||
/* dragged. */
|
||||
if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED)
|
||||
|
||||
@@ -488,7 +488,7 @@ Boolean _DtHelpFileListAddFile (
|
||||
nameKey = _DtHelpCeStrHashToKey(fileName);
|
||||
}
|
||||
|
||||
/* look for prior existance and position */
|
||||
/* look for prior existence and position */
|
||||
next = prev = NULL;
|
||||
while ( (next = _DtHelpFileListGetNext(*in_out_list, next)) != NULL )
|
||||
{
|
||||
|
||||
@@ -376,7 +376,7 @@ static char * pathsSet[_DtHELP_FILE_NUM_PATHS];
|
||||
*
|
||||
* Purpose: Scans all paths of given type looking for a matching file
|
||||
* If file contains a valid absolute path, that is also
|
||||
* acceptible.
|
||||
* acceptable.
|
||||
*
|
||||
* FIX: merge _DtHelpFileLocate() and _DtHelpFileListScanPaths()
|
||||
*****************************************************************************/
|
||||
|
||||
@@ -488,7 +488,7 @@ GetMbLen (
|
||||
if (_DtHelpCeStrchr(font_str, ".", 1, &ptr) == 0)
|
||||
{
|
||||
/*
|
||||
* make font_str two seperate strings by replacing
|
||||
* make font_str two separate strings by replacing
|
||||
* the dot with a end of line.
|
||||
*/
|
||||
*ptr++ = '\0';
|
||||
|
||||
@@ -300,12 +300,12 @@ GetNextState (
|
||||
* a two-byte character would be be followed by two backspaces
|
||||
* and the same two-bytes to indicate that the character is to
|
||||
* be a bold character.
|
||||
* Italic characters can either be preceeded by a backspace/underline
|
||||
* Italic characters can either be preceded by a backspace/underline
|
||||
* or followed by a backspace/underline. I.E. _bsAB<bs_
|
||||
* would be an italic capitol A, a regular capital B and
|
||||
* an italic less than sign.
|
||||
* All backslashes and less than signs are output with a backslash
|
||||
* preceeding them.
|
||||
* preceding them.
|
||||
*
|
||||
* The following characters have special meaning in the state table:
|
||||
* <c> indicates a character.
|
||||
|
||||
@@ -752,7 +752,7 @@ static void Initialize(
|
||||
VariableInitialize(hw);
|
||||
|
||||
|
||||
/* Validate the incomming arguments to make sure they are ok */
|
||||
/* Validate the incoming arguments to make sure they are ok */
|
||||
|
||||
|
||||
/* Build the Menus bar */
|
||||
@@ -879,7 +879,7 @@ static Boolean SetValues(
|
||||
Boolean updateRequest=FALSE;
|
||||
Boolean newTitle=FALSE;
|
||||
|
||||
/* Validate the incomming arguments to make sure they are ok */
|
||||
/* Validate the incoming arguments to make sure they are ok */
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -868,7 +868,7 @@ static void Initialize(
|
||||
defaultList);
|
||||
|
||||
|
||||
/* Now Validate our incomming help requests topics */
|
||||
/* Now Validate our incoming help requests topics */
|
||||
SetupDisplayType((Widget)qw ,DtJUMP_UPDATE);
|
||||
|
||||
/* Just for fun, lets make sure our sizes are correct */
|
||||
|
||||
@@ -2576,7 +2576,7 @@ ProcessTable(
|
||||
}
|
||||
|
||||
/*
|
||||
* Now, double check that the row heights will accomodate
|
||||
* Now, double check that the row heights will accommodate
|
||||
* all the cells.
|
||||
*/
|
||||
for (row = 0; row < maxRows; row++)
|
||||
|
||||
@@ -363,7 +363,7 @@ void _DtHelpUpdatePathArea(
|
||||
if (retState == -1)
|
||||
{
|
||||
|
||||
/* Some error occured while processing the new toc,
|
||||
/* Some error occurred while processing the new toc,
|
||||
* error out or something ???
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -788,7 +788,7 @@ _DtHelpCeGetSdlCdata (
|
||||
* Purpose: Parses the CDATA value for an element attribute. Expects the
|
||||
* pointer to be after the equals sign of the attribute. The
|
||||
* CDATA must be included in quotes (either single or double)
|
||||
* and can have white space (spaces, newlines or tabs) preceeding
|
||||
* and can have white space (spaces, newlines or tabs) preceding
|
||||
* it. Any newline encountered within the CDATA value is turned
|
||||
* into a space. Any quote enclosed in the CDATA must not be the
|
||||
* same type as what is used to delimit the CDATA value. I.E.
|
||||
|
||||
@@ -947,10 +947,10 @@ DADrawLine (
|
||||
* box_x,box_y Specifies the upper left hand corner of
|
||||
* the bounding box for this string. This
|
||||
* includes any traversal and/or link offsets
|
||||
* relevent for the line this segment occupies.
|
||||
* relevant for the line this segment occupies.
|
||||
* box_height Specifies the maximum height of the bounding
|
||||
* box for this string. This includes any
|
||||
* traversal and/or offsets relevent to this
|
||||
* traversal and/or offsets relevant to this
|
||||
* line.
|
||||
* old_flags Specifies .............
|
||||
* new_flags Specifies .............
|
||||
@@ -1336,10 +1336,10 @@ DADrawString (
|
||||
* box_x,box_y Specifies the upper left hand corner of
|
||||
* the bounding box for this string. This
|
||||
* includes any traversal and/or link offsets
|
||||
* relevent for the line this segment occupies.
|
||||
* relevant for the line this segment occupies.
|
||||
* box_height Specifies the maximum height of the bounding
|
||||
* box for this string. This includes any
|
||||
* traversal and/or offsets relevent to this
|
||||
* traversal and/or offsets relevant to this
|
||||
* line.
|
||||
* link_type Specifies the link type if this spc is
|
||||
* part of a link.
|
||||
|
||||
@@ -994,7 +994,7 @@ static unsigned int rawWriteMethodTable [(IL_X_MAX_VISUAL_TYPE + 1)] = {
|
||||
IL_XWC_WRITE_COLOR /* IL_XWC_COLOR_24 */ };
|
||||
|
||||
/* Table indexed by [image type, dst visual type], yielding writeType,
|
||||
assuming best case: colors/grays alloc'd succesfully; else writeType
|
||||
assuming best case: colors/grays alloc'd successfully; else writeType
|
||||
degrades.
|
||||
*/
|
||||
static unsigned int writeTypeTable [(IL_MAX_TYPE + 1) *
|
||||
|
||||
@@ -337,7 +337,7 @@ register ilBool bigEndian;
|
||||
} /* END tag found */
|
||||
} /* END each caller's tag */
|
||||
|
||||
/* Tags read succesfully: free pFileTags (local buffer); return pTagAlloc.
|
||||
/* Tags read successfully: free pFileTags (local buffer); return pTagAlloc.
|
||||
*/
|
||||
IL_FREE (pFileTags);
|
||||
pFileImage->context->error = IL_OK;
|
||||
|
||||
@@ -161,7 +161,7 @@ typedef struct _ilFileRec {
|
||||
|
||||
/* Seek to the given offset within the given file, taking into
|
||||
account the offset at which the logical file begins.
|
||||
Returns true if seek succesful, else false.
|
||||
Returns true if seek successful, else false.
|
||||
*/
|
||||
#ifdef DTLIB
|
||||
/* Used when this header is compiled into the DtHelp library */
|
||||
|
||||
@@ -381,7 +381,7 @@ ilSrcElementData srcData;
|
||||
if (!pPriv)
|
||||
return FALSE;
|
||||
|
||||
/* Element succesfully added; setup private data.
|
||||
/* Element successfully added; setup private data.
|
||||
Increment the refCount in the image; see notes for ilImageDestroy().
|
||||
*/
|
||||
pPriv->pImage = pImage;
|
||||
|
||||
Reference in New Issue
Block a user