mirror of https://github.com/mpv-player/mpv
input: fix parsing multiple input command prefixes
This commit is contained in:
parent
d797f7def9
commit
1f1117d0dd
|
@ -273,7 +273,6 @@ static struct mp_cmd *parse_cmd_str(struct mp_log *log, void *tmp,
|
||||||
break;
|
break;
|
||||||
if (pctx_read_token(ctx, &cur_token) < 0)
|
if (pctx_read_token(ctx, &cur_token) < 0)
|
||||||
goto error;
|
goto error;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!find_cmd(ctx->log, cmd, cur_token))
|
if (!find_cmd(ctx->log, cmd, cur_token))
|
||||||
|
|
Loading…
Reference in New Issue