From 05901d834ec72ac753ba5d16057f907a5aa38fbc Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 31 Oct 2020 20:26:33 +0100 Subject: Fixed space handling in keymap parser --- libc/inc/input.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/inc/input.h') 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; -- cgit v1.2.3