summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-26 02:13:35 +0200
committerwm4 <wm4@nowhere>2013-07-26 02:13:35 +0200
commitca039d42bb947f3252cd3dc08e5d6751f39eba96 (patch)
treea29f0d5383f5ce104d346ce7c4af48fd24ad8c28
parent3bddc16431f8d2e22b03154465e9c62bafd328f3 (diff)
downloadmpv-ca039d42bb947f3252cd3dc08e5d6751f39eba96.tar.bz2
mpv-ca039d42bb947f3252cd3dc08e5d6751f39eba96.tar.xz
getch2: fix compilation
-rw-r--r--osdep/getch2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/getch2.c b/osdep/getch2.c
index 4917a19827..e8e9fe293f 100644
--- a/osdep/getch2.c
+++ b/osdep/getch2.c
@@ -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);