diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-11-28 09:50:10 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-11-28 09:50:10 -0800 |
commit | ca85da483ab1817ed449fccf3e54e8280112bdbf (patch) | |
tree | 4f96c721598f07a287dc418d429701151f7f7484 | |
parent | ec5aeaddddec4b4bdb532451f5a2bc8e3b7148a9 (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-- | xprop.c | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -8,7 +8,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/xprop @@ -43,7 +43,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, @@ -59,7 +59,7 @@ Display *dpy = NULL; 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 *Get_Display_Name( @@ -162,7 +162,7 @@ XFontStruct *Open_Font(const char *name) /* - * 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 @@ -1890,7 +1890,7 @@ Parse_Format_Mapping (int *argc, char ***argv) #define ARGC (*argc) #define ARGV (*argv) #define OPTION ARGV[0] -#define NXTOPT if (++ARGV, --ARGC==0) usage("insufficent arguments for -format") +#define NXTOPT if (++ARGV, --ARGC==0) usage("insufficient arguments for -format") char *type_name, *format, *dformat; NXTOPT; type_name = OPTION; @@ -2025,7 +2025,7 @@ main (int argc, char **argv) } if (!strcmp(argv[0], "-set")) { thunk t = {0}; - if (argc < 3) usage("insufficent arguments for -set"); + if (argc < 3) usage("insufficient arguments for -set"); t.propname = argv[1]; t.extra_value = argv[2]; argv += 3; argc -= 3; |