aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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 */