From d7fa37dd8e08a6179c97b3cdeea2405016304272 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 3 Jan 2015 10:16:07 +0100 Subject: console-client: Fix typos in comments Signed-off-by: Stefan Weil --- console-client/xkb/xkb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'console-client/xkb/xkb.c') 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; -- cgit v1.2.3