mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 14:13:18 -05:00
[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…
x
Reference in New Issue
Block a user