summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Antti K2014-07-29 23:36:05 +0200
committerGravatar Antti K2014-07-30 01:11:09 +0200
commit0d0a616515e78a542189ac90ba028401a6d569c8 (patch)
tree0d22cc7648c92969195a2ba0ddd20d0d0c9332f4
parent764dafa29fdb42e331c3edc960f5938254ca77d5 (diff)
downloadxkbcat-0d0a616515e78a542189ac90ba028401a6d569c8.tar.gz
xkbcat-0d0a616515e78a542189ac90ba028401a6d569c8.zip
Remove extraneous brackets
-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);