Spelling fixes

This commit is contained in:
chase
2018-05-26 11:50:47 -05:00
committed by Jon Trulson
parent 8d2fe2486c
commit 809c3d8bb6
146 changed files with 240 additions and 240 deletions

View File

@@ -1517,9 +1517,9 @@ main(
fprintf (outVolume, "*.topTopic: %s\n", ParentName);
/*
* topic heirarchy
* topic hierarchy
*/
fprintf (outVolume, "\n\n!# Topic Heirarchy\n");
fprintf (outVolume, "\n\n!# Topic Hierarchy\n");
fprintf (outVolume, "*.%s.parent: \n", ParentName);
for (next = TopicList; next && *next; next++)
fprintf (outVolume, "*.%s.parent: %s\n", *next, ParentName);

View File

@@ -50,7 +50,7 @@ $COPYRIGHT$:
#include <X11/Xlibint.h> /* _XGetHostname() */
#include <X11/Xos.h> /* FIX: remove? */
#include <X11/Intrinsic.h> /* for Xt macros */
/* dont use X11/StringDefs.h because it brings in the _XtStrings global */
/* don't use X11/StringDefs.h because it brings in the _XtStrings global */
#include "HelpPrintI.h"
@@ -880,7 +880,7 @@ static float dphm = 300.*2540.;
/* e.g. Dthelpprint.Printer{.<name>}.PaperSize */
#if defined(_AIX)
stricmp = strcmp; /* AIX and USL dont have strcasecmp */
stricmp = strcmp; /* AIX and USL don't have strcasecmp */
#else
stricmp = strcasecmp;
#endif
@@ -1168,7 +1168,7 @@ void _DtHPrBuildResourceDb(
char * tmp_string;
/** n.b.: If *appDB == NULL, the first XrmPutResource() call
creates a database and stored its ref in appDB. We dont
creates a database and stored its ref in appDB. We don't
need to explicitly create the db. **/
str_type[0] = NULL;

View File

@@ -2294,7 +2294,7 @@ int ProcessTopics(
state->curPageNumber = 1;
state->curLineNumber = 1;
/* output topics but dont inhibit */
/* output topics but don't inhibit */
if ( processSubTopics )
{
state->sectNums[0] = 1; /* support section num printing */

View File

@@ -91,7 +91,7 @@ static char *GetNextToken(
/* Volumegen Input file suffixes */
#define HEIR_FILE_SUFFIX ".tpc" /* The input filename suffix used for topic */
/* heirarchy files. */
/* hierarchy files. */
#define TLOC_FILE_SUFFIX ".idt" /* The input filename suffix used for topic */
/* location files. */
@@ -136,13 +136,13 @@ void main (
exit (1);
}
/* Construct the name of the heirarchy file and open it. */
/* Construct the name of the hierarchy file and open it. */
fName = malloc (strlen (*(argv+1)) + strlen (HEIR_FILE_SUFFIX) + 1);
strcpy (fName, *(argv+1));
strcat (fName, HEIR_FILE_SUFFIX);
if ((heirFile = fopen (fName, "r")) == NULL) {
fprintf (stderr,
"%s: error opening heirarchy file %s for reading\n",
"%s: error opening hierarchy file %s for reading\n",
*argv, fName);
perror (NULL);
exit (1);
@@ -211,7 +211,7 @@ void main (
}
/* Generate topic list and heirarchy */
/* Generate topic list and hierarchy */
GenTopicList (heirFile, volFile);
GenTopicHeir (heirFile, volFile);
@@ -298,7 +298,7 @@ static void GenTopicHeir(
topicStack = PStackCreate();
fseek (infile, 0, SEEK_SET);
fprintf (outfile, "# Topic Heirarchy\n");
fprintf (outfile, "# Topic Hierarchy\n");
prevToken = NULL;
while ((token = GetNextToken (infile, TRUE)) != NULL) {

View File

@@ -5617,7 +5617,7 @@ while (size ||
remnant = 0;
/* First split out the "sort", "text" and "rid" fields. They are
separated by an ASCII Record Seperator (036) character */
separated by an ASCII Record Separator (036) character */
pTo = sort;
pRestart = pFrom;
found = 0;
@@ -5745,7 +5745,7 @@ while (size ||
remnant = 0;
/* First split out the "sort", "text" and "rid" fields. They are
separated by an ASCII Record Seperator (036) character */
separated by an ASCII Record Separator (036) character */
pTo = sort;
pRestart = pFrom;
found = 0;