summaryrefslogtreecommitdiff
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
parentc8cfca25ab2ed65013448f7502bae933c66390ae (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--README2
-rw-r--r--geometry.c4
-rw-r--r--keycodes.c4
-rw-r--r--keytypes.c2
-rw-r--r--symbols.c4
-rw-r--r--xkbcomp.c2
-rw-r--r--xkbpath.c4
7 files changed, 11 insertions, 11 deletions
diff --git a/README b/README
index 4f79436..11ed80d 100644
--- a/README
+++ b/README
@@ -8,7 +8,7 @@ logical and physical state of the keyboard. It also includes a number of
keyboard controls designed to make keyboards more accessible to people with
physical impairments.
-There are five types of components in the server database corresponing to five
+There are five types of components in the server database corresponding to five
xkb symbolic names: symbols, geometry, keycodes, compat and types which
determine the keyboard behaviour. These five components can combined together
into a resulting keyboard mapping using the 'rules' component.
diff --git a/geometry.c b/geometry.c
index 5d65316..a5fc154 100644
--- a/geometry.c
+++ b/geometry.c
@@ -2882,7 +2882,7 @@ HandleGeometryFile(XkbFile * file,
break;
case StmtVModDef:
if (!failWhat)
- failWhat = "virtual modfier";
+ failWhat = "virtual modifier";
case StmtInterpDef:
if (!failWhat)
failWhat = "symbol interpretation";
@@ -3256,7 +3256,7 @@ VerifyDoodadInfo(DoodadInfo * di, GeometryInfo * info)
}
break;
default:
- WSGO1("Uknown doodad type %d in VerifyDoodad\n",
+ WSGO1("Unknown doodad type %d in VerifyDoodad\n",
(unsigned int) di->type);
return False;
}
diff --git a/keycodes.c b/keycodes.c
index 425ba10..c9d889f 100644
--- a/keycodes.c
+++ b/keycodes.c
@@ -370,7 +370,7 @@ AddKeyName(KeyNamesInfo * info,
else if (reportCollisions)
{
WARN("Multiple identical key name definitions\n");
- ACTION2("Later occurences of \"<%s> = %d\" ignored\n",
+ ACTION2("Later occurrences of \"<%s> = %d\" ignored\n",
buf, kc);
}
return True;
@@ -648,7 +648,7 @@ HandleKeyNameVar(VarDef * stmt, KeyNamesInfo * info)
else
{
ERROR("Unknown field encountered\n");
- ACTION1("Assigment to field %s ignored\n", field.str);
+ ACTION1("Assignment to field %s ignored\n", field.str);
return 0;
}
if (arrayNdx != NULL)
diff --git a/keytypes.c b/keytypes.c
index 103d860..9c8083c 100644
--- a/keytypes.c
+++ b/keytypes.c
@@ -644,7 +644,7 @@ AddMapEntry(XkbDescPtr xkb,
}
else if (warningLevel > 9)
{
- WARN3("Multiple occurences of map[%s]= %d in %s\n",
+ WARN3("Multiple occurrences of map[%s]= %d in %s\n",
MapEntryTxt(type, xkb, new), new->level + 1, TypeTxt(type));
ACTION("Ignored\n");
return True;
diff --git a/symbols.c b/symbols.c
index ece1caa..9df7363 100644
--- a/symbols.c
+++ b/symbols.c
@@ -1898,7 +1898,7 @@ PrepareKeyDef(KeyInfo * key)
}
}
/* If all groups are completely identical remove them all */
- /* exept the first one. */
+ /* except the first one. */
identical = True;
for (i = lastGroup; i > 0; i--)
{
@@ -2084,7 +2084,7 @@ CopySymbolsDef(XkbFileInfo * result, KeyInfo * key, int start_from)
/* assign kt_index[i] to the index of the type in map->types.
* kt_index[i] may have been set by a previous run (if we have two
* layouts specified). Let's not overwrite it with the ONE_LEVEL
- * default group if we dont even have keys for this group anyway.
+ * default group if we don't even have keys for this group anyway.
*
* FIXME: There should be a better fix for this.
*/
diff --git a/xkbcomp.c b/xkbcomp.c
index 37dc8f5..f144916 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -305,7 +305,7 @@ parseArgs(int argc, char *argv[])
{
if (warningLevel > 0)
{
- WARN("Multiple pre-error messsages specified\n");
+ WARN("Multiple pre-error messages specified\n");
ACTION2("Compiling %s, ignoring %s\n",
preErrorMsg, argv[i]);
}
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;
}