summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--xkbcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkbcat.c b/xkbcat.c
index 1fc3ff3..5b55b3b 100644
--- a/xkbcat.c
+++ b/xkbcat.c
@@ -14,7 +14,7 @@ const bool DEFAULT_PRINT_UP = false;
typedef char KbBuffer[32];
static inline bool keyState(KbBuffer b, int key) {
- return ( b[key/8] & (1<<(key%8)) );
+ return b[key/8] & (1<<(key%8));
}
void printKeyPress(Display * disp, int code, bool down, bool printKeyUps);