summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:14:14 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:14:14 -0800
commite0341cc8ddd76e6af2b11bbcdda25f470aa4160d (patch)
treed011dfd8d1e2c7d572d999ec72509733891de2d0
parent57586247e0c6bce744c04f072185762e76879baf (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>
-rw-r--r--README.md2
-rw-r--r--dsimple.c6
-rw-r--r--list.c2
-rw-r--r--multiVis.c8
-rw-r--r--wsutils.h8
-rw-r--r--xwd.c2
6 files changed, 14 insertions, 14 deletions
diff --git a/README.md b/README.md
index 1996b2e..b949788 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/app/xwd
diff --git a/dsimple.c b/dsimple.c
index 972a72e..e5cced3 100644
--- a/dsimple.c
+++ b/dsimple.c
@@ -44,7 +44,7 @@ from The Open Group.
#include "dsimple.h"
/*
- * Just_display: A group of routines designed to make the writting of simple
+ * Just_display: A group of routines designed to make the writing of simple
* X11 applications which open a display but do not open
* any windows much faster and easier. Unless a routine says
* otherwise, it may be assumed to require program_name, dpy,
@@ -61,7 +61,7 @@ int screen = 0;
/*
- * Get_Display_Name (argc, argv) Look for -display, -d, or host:dpy (obselete)
+ * Get_Display_Name (argc, argv) Look for -display, -d, or host:dpy (obsolete)
* If found, remove it from command line. Don't go past a lone -.
*/
char *
@@ -150,7 +150,7 @@ Close_Display(void)
/*
- * Select_Window_Args: a rountine to provide a common interface for
+ * Select_Window_Args: a routine to provide a common interface for
* applications that need to allow the user to select one
* window on the screen for special consideration.
* This routine implements the following command line
diff --git a/list.c b/list.c
index 4a50fc0..98481ad 100644
--- a/list.c
+++ b/list.c
@@ -135,7 +135,7 @@ list_length(list_ptr lp)
/** ------------------------------------------------------------------------
- Scans thru list, looking for a node whose ptr.item is equal to
+ Scans through list, looking for a node whose ptr.item is equal to
the "item" passed in. "Equal" here means the same address - no
attempt is made to match equivalent values stored in different
locations. If a match is found, that node is deleted from the
diff --git a/multiVis.c b/multiVis.c
index 97f740e..c15df05 100644
--- a/multiVis.c
+++ b/multiVis.c
@@ -475,7 +475,7 @@ ReadAreaToImage(Display *disp,
#endif
}
/* Now tranverse the overlay visual windows and test for transparency index. */
-/* If you find one, subsitute the value from the matching image plane pixmap. */
+/* If you find one, substitute the value from the matching image plane pixmap. */
for (reg = (image_region_type *) first_in_list(vis_regions); reg;
reg = (image_region_type *) next_in_list(vis_regions)) {
@@ -996,7 +996,7 @@ static int weCreateServerOverlayVisualsProperty = False;
* the array of the screen's visuals, determining whether the visual is an
* overlay or image visual.
*
- * If the routine sucessfully obtained the visual information, it returns zero.
+ * If the routine successfully obtained the visual information, it returns zero.
* If the routine didn't obtain the visual information, it returns non-zero.
*
******************************************************************************/
@@ -1043,7 +1043,7 @@ GetXVisualInfo( /* Which X server (aka "display"). */
*pVisuals = XGetVisualInfo(display, mask, &getVisInfo, numVisuals);
if ((nVisuals = *numVisuals) <= 0) {
- /* Return that the information wasn't sucessfully obtained: */
+ /* Return that the information wasn't successfully obtained: */
return (1);
}
pVis = *pVisuals;
@@ -1109,7 +1109,7 @@ GetXVisualInfo( /* Which X server (aka "display"). */
pVis++;
}
- /* Return that the information was sucessfully obtained: */
+ /* Return that the information was successfully obtained: */
return (0);
} /* GetXVisualInfo() */
diff --git a/wsutils.h b/wsutils.h
index bf43a18..c9d7aeb 100644
--- a/wsutils.h
+++ b/wsutils.h
@@ -60,7 +60,7 @@ typedef struct
/* This is structure also describes the SERVER_OVERLAY_VISUAL property, but
* should be more useful than the one actually returned by the X server
* because it actually points to the visual's XVisualInfo struct rather than
- * refering to the visual's ID.
+ * referring to the visual's ID.
*/
typedef struct
{
@@ -125,7 +125,7 @@ typedef struct
* the array of the screen's visuals, determining whether the visual is an
* overlay or image visual.
*
- * If the routine sucessfully obtained the visual information, it returns zero.
+ * If the routine successfully obtained the visual information, it returns zero.
* If the routine didn't obtain the visual information, it returns non-zero.
*
******************************************************************************/
@@ -262,7 +262,7 @@ extern int FindOverlayPlanesVisual(
* upon the information passed in to the routine. While "created," the window
* has not been mapped.
*
- * If the routine suceeds, it returns zero and the return parameters
+ * If the routine succeeds, it returns zero and the return parameters
* "imageWindow", "imageColormap" and "mustFreeImageColormap" are valid.
* Otherwise, the routine returns non-zero and the return parameters are
* NOT valid.
@@ -303,7 +303,7 @@ extern int CreateImagePlanesWindow(
* upon the information passed in to the routine. While "created," the window
* has not been mapped.
*
- * If the routine suceeds, it returns zero and the return parameters
+ * If the routine succeeds, it returns zero and the return parameters
* "overlayWindow", "overlayColormap" and "mustFreeOverlayColormap" are valid.
* Otherwise, the routine returns non-zero and the return parameters are
* NOT valid.
diff --git a/xwd.c b/xwd.c
index 708a06e..23a734d 100644
--- a/xwd.c
+++ b/xwd.c
@@ -508,7 +508,7 @@ Window_Dump(Window window, FILE *out)
* This copying of the bit stream (data) to a file is to be replaced
* by an Xlib call which hasn't been written yet. It is not clear
* what other functions of xwd will be taken over by this (as yet)
- * non-existant X function.
+ * non-existent X function.
*/
if (fwrite(image->data, (int) buffer_size, 1, out) != 1) {
perror("xwd");