aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/playlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c
index f38db6928..a9ffe5982 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -940,8 +940,7 @@ int playPlaylistOrderNumber(int fd, int orderNum)
if (playerPlay(fd, (playlist.songs[playlist.order[orderNum]])) < 0) {
stopPlaylist(fd);
return -1;
- } else
- playlist.current++;
+ }
playlist.current = orderNum;