mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-04 10:26:02 -05:00
queue_remove was removing wrong item
This commit is contained in:
parent
d8940bfd2d
commit
44c3dba3d9
@ -3548,7 +3548,7 @@ queue_remove(struct player_command *cmd)
|
||||
return -1;
|
||||
}
|
||||
|
||||
for (i = 0; i <= pos; i++)
|
||||
for (i = 0; i < pos; i++)
|
||||
{
|
||||
ps = shuffle ? ps->shuffle_next : ps->pl_next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user