diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-11-28 14:14:14 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-11-28 14:14:14 -0800 |
commit | e0341cc8ddd76e6af2b11bbcdda25f470aa4160d (patch) | |
tree | d011dfd8d1e2c7d572d999ec72509733891de2d0 | |
parent | 57586247e0c6bce744c04f072185762e76879baf (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.md | 2 | ||||
-rw-r--r-- | dsimple.c | 6 | ||||
-rw-r--r-- | list.c | 2 | ||||
-rw-r--r-- | multiVis.c | 8 | ||||
-rw-r--r-- | wsutils.h | 8 | ||||
-rw-r--r-- | xwd.c | 2 |
6 files changed, 14 insertions, 14 deletions
@@ -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 @@ -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 @@ -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 @@ -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() */ @@ -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. @@ -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"); |