summaryrefslogtreecommitdiff
path: root/xkbpath.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-23 10:25:08 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-23 10:26:22 -0700
commit101d5f2bce9ee13521fe9cb47b7cfd00d01f5914 (patch)
treec5d0bf97da4001ef9ae9c4d267da481053439263 /xkbpath.c
parentc8cfca25ab2ed65013448f7502bae933c66390ae (diff)
downloadxorg-app-xkbcomp-101d5f2bce9ee13521fe9cb47b7cfd00d01f5914.tar.gz
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 'xkbpath.c')
-rw-r--r--xkbpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbpath.c b/xkbpath.c
index e7912bf..b04ce16 100644
--- a/xkbpath.c
+++ b/xkbpath.c
@@ -53,7 +53,7 @@ static char **includePath; /* Holds all directories we might be including data f
* @param nextop_rtrn Set to the next operation in the complete statement.
* @param extra_data Set to the string between ( and ), if any.
*
- * @return True if parsing was succcessful, False for an illegal string.
+ * @return True if parsing was successful, False for an illegal string.
*
* Example: "evdev+aliases(qwerty)"
* str_inout = aliases(qwerty)
@@ -212,7 +212,7 @@ XkbAddDirectoryToPath(const char *dir)
len = strlen(dir);
if (len + 2 >= PATH_MAX)
{ /* allow for '/' and at least one character */
- ERROR2("Path entry (%s) too long (maxiumum length is %d)\n",
+ ERROR2("Path entry (%s) too long (maximum length is %d)\n",
dir, PATH_MAX - 3);
return False;
}