summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2016-04-17 02:09:54 -0400
committerwm4 <wm4@nowhere>2016-04-17 12:53:30 +0200
commit1f1117d0dd61e47d1c64f567be1ca80ac968bd22 (patch)
tree0cac1371c3ca5a97fdbe4c3c97de48cfec1c9494 /input
parentd797f7def9086d1af368d3e20f6b26e2a94f9ac1 (diff)
downloadmpv-1f1117d0dd61e47d1c64f567be1ca80ac968bd22.tar.bz2
mpv-1f1117d0dd61e47d1c64f567be1ca80ac968bd22.tar.xz
input: fix parsing multiple input command prefixes
Diffstat (limited to 'input')
-rw-r--r--input/cmd_parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/input/cmd_parse.c b/input/cmd_parse.c
index c2c3270e97..01e4bb6411 100644
--- a/input/cmd_parse.c
+++ b/input/cmd_parse.c
@@ -273,7 +273,6 @@ static struct mp_cmd *parse_cmd_str(struct mp_log *log, void *tmp,
break;
if (pctx_read_token(ctx, &cur_token) < 0)
goto error;
- break;
}
if (!find_cmd(ctx->log, cmd, cur_token))