This commit is contained in:
Kovid Goyal 2018-04-20 09:32:01 +05:30
parent bf3bfeaf69
commit a6d96c9a14
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -78,7 +78,11 @@ send_key_to_child(Window *w, int key, int mods, int action) {
static inline bool
is_ascii_control_char(char c) {
#if CHAR_MIN == 0
return (c <= 31) || c == 127;
#else
return (0 <= c && c <= 31) || c == 127;
#endif
}
void