diff --git a/input/cmd_list.c b/input/cmd_list.c index 35761cdbea..447e49376a 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -276,7 +276,7 @@ bool mp_input_is_abort_cmd(struct mp_cmd *cmd) if (cmd->id == MP_CMD_COMMAND_LIST) { for (struct mp_cmd *sub = cmd->args[0].v.p; sub; sub = sub->queue_next) { - if (mp_input_is_abort_cmd(cmd)) + if (mp_input_is_abort_cmd(sub)) return true; } }