summaryrefslogtreecommitdiff
path: root/console-client/xkb/xkb.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-01-03 10:16:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-01-03 13:09:33 +0100
commitd7fa37dd8e08a6179c97b3cdeea2405016304272 (patch)
treec637418467cd656f80e4d8d5bfebf4a7db279a84 /console-client/xkb/xkb.c
parent795d45e2a4ab58dd169e1febfd82b8e3b4601d9e (diff)
console-client: Fix typos in comments
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'console-client/xkb/xkb.c')
-rw-r--r--console-client/xkb/xkb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/console-client/xkb/xkb.c b/console-client/xkb/xkb.c
index 0039714b..bed3da8a 100644
--- a/console-client/xkb/xkb.c
+++ b/console-client/xkb/xkb.c
@@ -72,7 +72,7 @@ static group_t latchedgroup;
static boolctrls bboolctrls;
/* A counter to count how often the modifier was set. This is used
- when two seperate actions set the same modifier. (example: Left
+ when two separate actions set the same modifier. (example: Left
Shift and Right Shift.). */
modcount_t modsc;
@@ -546,7 +546,7 @@ setgroup (keypress_t key, group_t group, int flags)
else
/* XXX: Maybe oldgroup should be restored for !groupAbsolute
too, because wrapgroup might have affected the calculation
- and substracting will not undo the set operation. However
+ and subtracting will not undo the set operation. However
this way of handeling relative groups is better because the
order of releasing keys when multiple relative setgroup keys
are pressed doesn't matter. */
@@ -616,7 +616,7 @@ lockcontrols (keypress_t key, boolctrls ctrls, int flags)
else
{
// clearcontrols (key, boolctrls, flags);
- /* This unlock behaviour doesnt work and sucks, just like the protocol
+ /* This unlock behaviour doesn't work and sucks, just like the protocol
specification where it was documented. */
// if (!(flags & noUnlock))
// lboolctrls &= ~keystate[key.keycode].bool;