diff options
author | Marvin Borner | 2020-10-31 20:26:33 +0100 |
---|---|---|
committer | Marvin Borner | 2020-10-31 20:26:33 +0100 |
commit | 05901d834ec72ac753ba5d16057f907a5aa38fbc (patch) | |
tree | 24d7feccc237ba7eb1181941653173af7c0eba90 /libc/inc/input.h | |
parent | 19af2060005aa93b74de3438224f52dd73cabdd3 (diff) |
Fixed space handling in keymap parser
Diffstat (limited to 'libc/inc/input.h')
-rw-r--r-- | libc/inc/input.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/inc/input.h b/libc/inc/input.h index 04a0301..5fc7ed1 100644 --- a/libc/inc/input.h +++ b/libc/inc/input.h @@ -270,9 +270,9 @@ #define KEY_NUMERIC(code) ((code) >= KEY_1 && (code) <= KEY_0) #define KEY_ALPHABETIC(code) \ - ((code) >= KEY_Q && (code) <= KEY_P) || ((code) >= KEY_A && (code) <= KEY_L) || \ - ((code) >= KEY_Z && (code) <= KEY_M) -#define KEY_ALPHANUMERIC(code) KEY_NUMERIC((code)) || KEY_ALPHABETIC((code)) + (((code) >= KEY_Q && (code) <= KEY_P) || ((code) >= KEY_A && (code) <= KEY_L) || \ + ((code) >= KEY_Z && (code) <= KEY_M)) +#define KEY_ALPHANUMERIC(code) (KEY_NUMERIC((code)) || KEY_ALPHABETIC((code))) typedef int fortytwo; |