diff --git a/src/player.c b/src/player.c index 724970c4..eabd3bd9 100644 --- a/src/player.c +++ b/src/player.c @@ -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; }