Fix compiler warning

This commit is contained in:
Kovid Goyal
2021-01-17 07:28:22 +05:30
parent 6bbf014152
commit 1016586611

View File

@@ -382,7 +382,7 @@ encode_key(const KeyEvent *ev, char *output) {
static inline bool
is_ascii_control_char(char c) {
return (0 <= c && c <= 31) || c == 127;
return c <= 31 || c == 127;
}
int