diff options
Diffstat (limited to 'osdep/getch2.c')
-rw-r--r-- | osdep/getch2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/getch2.c b/osdep/getch2.c index b5b65370cf..4a571033b1 100644 --- a/osdep/getch2.c +++ b/osdep/getch2.c @@ -200,7 +200,7 @@ void getch2(void) goto found; } } - if (c == '[' || c == 'O' && getch2_len >= 3) { + if ((c == '[' || c == 'O') && getch2_len >= 3) { int c = getch2_buf[2]; const short ctable[] = { KEY_UP, KEY_DOWN, KEY_RIGHT, KEY_LEFT, 0, |