summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 09:50:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 09:50:10 -0800
commitca85da483ab1817ed449fccf3e54e8280112bdbf (patch)
tree4f96c721598f07a287dc418d429701151f7f7484
parentec5aeaddddec4b4bdb532451f5a2bc8e3b7148a9 (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--xprop.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 7a359c9..ae4cb05 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/dsimple.c b/dsimple.c
index 3f800cf..afe41b6 100644
--- a/dsimple.c
+++ b/dsimple.c
@@ -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
diff --git a/xprop.c b/xprop.c
index 8d60089..1138cfa 100644
--- a/xprop.c
+++ b/xprop.c
@@ -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;