summaryrefslogtreecommitdiff
path: root/man
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 /man
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 'man')
-rw-r--r--man/xpmcreatepixmap.man2
-rw-r--r--man/xpmread.man4
-rw-r--r--man/xpmwrite.man2
3 files changed, 4 insertions, 4 deletions
diff --git a/man/xpmcreatepixmap.man b/man/xpmcreatepixmap.man
index e834dae..ba116b3 100644
--- a/man/xpmcreatepixmap.man
+++ b/man/xpmcreatepixmap.man
@@ -69,7 +69,7 @@ XpmCreatePixmapFromXpmImage creates X images calling XpmCreateImageFromXpmImage
the given XpmImage and XpmAttributes, then it creates the related pixmaps which are returned topixmap_return
and shapemask_return using XPutImage.
Finally it destroys the X images with XDestroyImage.
-When finished the caller must free the pixmaps using XFreePixmap, the colors using XFreeColors or the appication
+When finished the caller must free the pixmaps using XFreePixmap, the colors using XFreeColors or the application
equivalent function when the standard Xlib functions are not used, and possibly the data returned into the
XpmAttributes using XpmFreeAttributes.
diff --git a/man/xpmread.man b/man/xpmread.man
index 5074d40..8b6f637 100644
--- a/man/xpmread.man
+++ b/man/xpmread.man
@@ -93,7 +93,7 @@ to the desired color, and uses that.
If the alloc_close_colors attribute is set to False, the found close color is not allocated but it is used anyway.
This is especially useful for applications which use a private colormap containing read/write cells and have
complete control over the colormap.
-On the other hand, since in such a case there is no garanty that the color pixel will not change any time,
+On the other hand, since in such a case there is no guarantee that the color pixel will not change any time,
this should be avoided when using the default colormap.
If no color can be found that is within closeness of the Red, Green and Blue components of the desired color,
it reverts to trying other default values as explained above.
@@ -119,7 +119,7 @@ If required it stores into the XpmAttributes structure the list of the used pixe
When the image depth is one, the image format is either as specified by the bitmap_format attribute if set or ZPixmap.
When the depth is different from one the imagae format is always ZPixmap.
When finished the caller must free the images using XDestroyImage, the allocated colors using
-XFreeColors or the appication equivalent function when the standard Xlib functions are not used,
+XFreeColors or the application equivalent function when the standard Xlib functions are not used,
and possibly the data returned into the XpmAttributes using XpmFreeAttributes (page 25).
In addition, on systems which support such features XpmReadFileToImage deals with compressed files by forking
an uncompress orgzip process and reading from the piped result. It assumes that the specified file is
diff --git a/man/xpmwrite.man b/man/xpmwrite.man
index f40d8c7..b07f780 100644
--- a/man/xpmwrite.man
+++ b/man/xpmwrite.man
@@ -86,7 +86,7 @@ And if instead of a file name NULL is passed to XpmWriteFileFromImage, it writes
To write out a Pixmap to an XPM file, use XpmWriteFileFromPixmap.
If the passed XpmAttributes structure pointer is not NULL,
-XpmWriteFileFromPixmap looks for the following atributes: XpmSize.
+XpmWriteFileFromPixmap looks for the following attributes: XpmSize.
If they are not defined it performs an XGetGeometry operation.
Then it uses XGetImage to get from the given pixmaps the related X images which are passed to XpmWriteFileFromImage.
Finally XpmWriteFileFromPixmap destroys the created images using XDestroyImage.