summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-17 16:25:38 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-17 16:25:38 -0700
commit961245427855ab6d30a5fa2dbb98aaffa571d728 (patch)
treea91296f47693e73b9afc9b4da78cf9ae0774e330 /src
parentfa16fbda9c90f932a74cd80c90eee88432d987d7 (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/create.c2
-rw-r--r--src/hashtab.c2
-rw-r--r--src/parse.c6
-rw-r--r--src/rgbtab.h2
-rw-r--r--src/scan.c6
5 files changed, 9 insertions, 9 deletions
diff --git a/src/create.c b/src/create.c
index a750846..4a85c78 100644
--- a/src/create.c
+++ b/src/create.c
@@ -2231,7 +2231,7 @@ xpmParseDataAndCreate(
}
}
/*
- * store found informations in the XpmImage structure
+ * store found information in the XpmImage structure
*/
image->width = width;
image->height = height;
diff --git a/src/hashtab.c b/src/hashtab.c
index 1bd4109..6950e16 100644
--- a/src/hashtab.c
+++ b/src/hashtab.c
@@ -29,7 +29,7 @@
* XPM library *
* *
* Developed by Arnaud Le Hors *
-* this originaly comes from Colas Nahaboo as a part of Wool *
+* this originally comes from Colas Nahaboo as a part of Wool *
* *
\*****************************************************************************/
diff --git a/src/parse.c b/src/parse.c
index 613529e..037fc66 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -27,7 +27,7 @@
* parse.c: *
* *
* XPM library *
-* Parse an XPM file or array and store the found informations *
+* Parse an XPM file or array and store the found information *
* in the given XpmImage structure. *
* *
* Developed by Arnaud Le Hors *
@@ -717,7 +717,7 @@ do { \
} while(0)
/*
- * This function parses an Xpm file or data and store the found informations
+ * This function parses an Xpm file or data and store the found information
* in an an XpmImage structure which is returned.
*/
int
@@ -825,7 +825,7 @@ xpmParseData(
}
/*
- * store found informations in the XpmImage structure
+ * store found information in the XpmImage structure
*/
image->width = width;
image->height = height;
diff --git a/src/rgbtab.h b/src/rgbtab.h
index 3b75184..6d30f15 100644
--- a/src/rgbtab.h
+++ b/src/rgbtab.h
@@ -29,7 +29,7 @@
* A hard coded rgb.txt. To keep it short I removed all colornames with *
* trailing numbers, Blue3 etc, except the GrayXX. Sorry Grey-lovers I prefer *
* Gray ;-). But Grey is recognized on lookups, only on save Gray will be *
-* used, maybe you want to do some substitue there too. *
+* used, maybe you want to do some substitute there too. *
* *
* To save memory the RGBs are coded in one long value, as done by the RGB *
* macro. *
diff --git a/src/scan.c b/src/scan.c
index 54c8da5..9068d71 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -182,7 +182,7 @@ do { \
} while(0)
/*
- * This function scans the given image and stores the found informations in
+ * This function scans the given image and stores the found information in
* the given XpmImage structure.
*/
int
@@ -336,7 +336,7 @@ XpmCreateXpmImageFromImage(
RETURN(ErrorStatus);
/*
- * store found informations in the XpmImage structure
+ * store found information in the XpmImage structure
*/
xpmimage->width = width;
xpmimage->height = height;
@@ -380,7 +380,7 @@ ScanTransparentColor(
*s = printable[c = ((a - c) / MAXPRINTABLE) % MAXPRINTABLE];
*s = '\0';
- /* then retreive related info from the attributes if any */
+ /* then retrieve related info from the attributes if any */
if (attributes && (attributes->valuemask & XpmColorTable
/* 3.2 backward compatibility code */
|| attributes->valuemask & XpmInfos)