getch2: fix compilation

This commit is contained in:
wm4 2013-07-26 02:13:35 +02:00
parent 3bddc16431
commit ca039d42bb
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ bool getch2(struct input_ctx *input_ctx)
case 0x1b: /* ESC that's not part of escape sequence */
mp_input_put_key(input_ctx, MP_KEY_ESC);
if (getch2_len > 1 && getch2_buf[1] == 0x1b)
walk_buf(1) /* eat the second ESC if it was typed twice */
walk_buf(1); /* eat the second ESC if it was typed twice */
break;
default:
mp_input_put_key(input_ctx, c);