aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/playlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 1c743edc0..4b1042409 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -824,6 +824,8 @@ int deleteFromPlaylist(int fd, int song)
stop_current = 1;
if (playlist.current > songOrder) {
+ if (playlist.current == prev_queued)
+ playlist.queued = playlist.current - 1;
playlist.current--;
} else if (playlist.current >= playlist.length) {
incrPlaylistCurrent();