[player] Fix return value in repeat_set if repeat mode did not change
This commit is contained in:
parent
30d43bef4f
commit
da83af04e2
|
@ -3020,7 +3020,10 @@ repeat_set(void *arg, int *retval)
|
|||
union player_arg *cmdarg = arg;
|
||||
|
||||
if (cmdarg->mode == repeat)
|
||||
return 0;
|
||||
{
|
||||
*retval = 0;
|
||||
return COMMAND_END;
|
||||
}
|
||||
|
||||
switch (cmdarg->mode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue