summaryrefslogtreecommitdiff
path: root/src/scan.c
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/scan.c
parentfa16fbda9c90f932a74cd80c90eee88432d987d7 (diff)
downloadxorg-lib-libXpm-961245427855ab6d30a5fa2dbb98aaffa571d728.tar.gz
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/scan.c')
-rw-r--r--src/scan.c6
1 files changed, 3 insertions, 3 deletions
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)