aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-12 19:11:41 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-12 19:11:41 +0200
commitb239773c6d63b713003ce802e833ffed184fb9bc (patch)
tree3d76327693387c5ccdc901d11dead688178f4b2e
parentmds-kkbd: m + handle_set_keyboard_leds (diff)
downloadmds-b239773c6d63b713003ce802e833ffed184fb9bc.tar.gz
mds-b239773c6d63b713003ce802e833ffed184fb9bc.tar.bz2
mds-b239773c6d63b713003ce802e833ffed184fb9bc.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kkbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c
index 26d796d..07a5de7 100644
--- a/src/mds-kkbd.c
+++ b/src/mds-kkbd.c
@@ -630,7 +630,7 @@ int handle_set_keyboard_leds(const char* recv_active, const char* recv_mask,
#undef __test
- current = (current & active & mask) | ((current ^ active) & ~mask);
+ current = (active & mask) | ((current ^ active) & ~mask);
if (set_leds(current) < 0)
{
xperror(*argv); /* Not fatal */