summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-30 14:08:43 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-30 14:14:00 -0700
commit410d2005f5a1f11e8204d9bc3432e0b145ae3161 (patch)
treef496c097e84884542ca64b2c73e166f22f31a629 /include
parent08df47e4786d112a639915331702b4a27def6a56 (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>
Diffstat (limited to 'include')
-rw-r--r--include/X11/ICE/ICEconn.h2
-rw-r--r--include/X11/ICE/ICEmsg.h2
-rw-r--r--include/X11/ICE/ICEutil.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/X11/ICE/ICEconn.h b/include/X11/ICE/ICEconn.h
index e5d493a..0189427 100644
--- a/include/X11/ICE/ICEconn.h
+++ b/include/X11/ICE/ICEconn.h
@@ -171,7 +171,7 @@ struct _IceConn {
* Before we read a message, the major opcode of the message must be
* mapped to our corresponding major opcode (the two clients can use
* different opcodes for the same protocol). In order to save space,
- * we keep track of the mininum and maximum major opcodes used by the
+ * we keep track of the minimum and maximum major opcodes used by the
* other client. To get the information on how to process this message,
* we do the following...
*
diff --git a/include/X11/ICE/ICEmsg.h b/include/X11/ICE/ICEmsg.h
index 9884466..17e36a6 100644
--- a/include/X11/ICE/ICEmsg.h
+++ b/include/X11/ICE/ICEmsg.h
@@ -278,7 +278,7 @@ extern IcePaAuthStatus _IcePaMagicCookie1Proc (
/*
* Read pad bytes (for 32 or 64 bit alignment).
- * A maxium of 7 pad bytes can be specified.
+ * A maximum of 7 pad bytes can be specified.
*/
#define IceReadPad(_iceConn, _bytes) \
diff --git a/include/X11/ICE/ICEutil.h b/include/X11/ICE/ICEutil.h
index dbf1490..92e8a43 100644
--- a/include/X11/ICE/ICEutil.h
+++ b/include/X11/ICE/ICEutil.h
@@ -68,7 +68,7 @@ typedef struct {
*/
#define IceAuthLockSuccess 0 /* lock succeeded */
-#define IceAuthLockError 1 /* lock unexpectely failed, check errno */
+#define IceAuthLockError 1 /* lock unexpectedly failed, check errno */
#define IceAuthLockTimeout 2 /* lock failed, timeouts expired */