[player] Fix return value in repeat_set if repeat mode did not change

This commit is contained in:
chme 2016-08-06 06:36:42 +02:00
parent 30d43bef4f
commit da83af04e2
1 changed files with 4 additions and 1 deletions

View File

@ -3020,7 +3020,10 @@ repeat_set(void *arg, int *retval)
union player_arg *cmdarg = arg; union player_arg *cmdarg = arg;
if (cmdarg->mode == repeat) if (cmdarg->mode == repeat)
return 0; {
*retval = 0;
return COMMAND_END;
}
switch (cmdarg->mode) switch (cmdarg->mode)
{ {