summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
commit23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch)
treec3018d5ce5c474883b9a31aca33962d73a540bd8 /xkb
parentb0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff)
downloadxserver-23e83724df4809fd7857cc609c33ce7e8d3021a4.tar.gz
Fix spelling/wording issues
Most (but not all) of these were found by using codespell --builtin clear,rare,usage,informal,code,names but not everything reported by that was fixed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkb')
-rw-r--r--xkb/XKM_file_format.txt6
-rw-r--r--xkb/ddxLoad.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/xkb/XKM_file_format.txt b/xkb/XKM_file_format.txt
index 0ba28ee8c..2a90e4047 100644
--- a/xkb/XKM_file_format.txt
+++ b/xkb/XKM_file_format.txt
@@ -77,8 +77,8 @@ specific fields listed underneath value 1.
3. XKM Format
The XKM format is a binary format with structs usually being padded to a
-multiple of 4 bytes. No provisions for endianess are provided, the parser is
-left to guess the endianess of the XKM file.
+multiple of 4 bytes. No provisions for endianness are provided, the parser is
+left to guess the endianness of the XKM file.
❧❧❧❧❧❧❧❧❧❧❧
3.1 Common data types
@@ -399,7 +399,7 @@ The number of keysyms present is max_keycode - min_keycode + 1.
Presence of names is conditional on the XkmKeyHasTypes flag. The number of
strings is equal to the number of group bits in group_names_mask in the
-preceeding XKMSymbols section.
+preceding XKMSymbols section.
The number of elements in syms is equal to width * num_groups.
Presence of behavior is conditional on the XkmKeyHasBehavior flag.
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index a8b8368a6..ea7e34700 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -451,7 +451,7 @@ XkbRMLVOtoKcCGST(DeviceIntPtr dev, XkbRMLVOSet * rmlvo,
/**
* Compile the given RMLVO keymap and return it. Returns the XkbDescPtr on
* success or NULL on failure. If the components compiled are not a superset
- * or equal to need, the compiliation is treated as failure.
+ * or equal to need, the compilation is treated as failure.
*/
static XkbDescPtr
XkbCompileKeymapForDevice(DeviceIntPtr dev, XkbRMLVOSet * rmlvo, int need)