aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-31 14:44:20 +0200
committerMax Kellermann <max@duempel.org>2014-08-31 14:44:20 +0200
commita26ead035a4574bf2cae6b7fad661a1354ee8641 (patch)
tree448e821ebfda53f4acbc8aab2b83893133c6a117 /src/PlaylistControl.cxx
parent704be54c3a96c7a6bebdaa67711f7debe410a13f (diff)
downloadmpd-a26ead035a4574bf2cae6b7fad661a1354ee8641.tar.gz
mpd-a26ead035a4574bf2cae6b7fad661a1354ee8641.tar.xz
mpd-a26ead035a4574bf2cae6b7fad661a1354ee8641.zip
PlaylistControl: use SeekSongOrder(current) to keep current song
The "current" attribute is a "song order", not a "song position". This is usually the same - except in random mode. Fixes Mantis ticket 0004073.
Diffstat (limited to 'src/PlaylistControl.cxx')
-rw-r--r--src/PlaylistControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistControl.cxx b/src/PlaylistControl.cxx
index df0496e7c..b0ff03a7e 100644
--- a/src/PlaylistControl.cxx
+++ b/src/PlaylistControl.cxx
@@ -265,5 +265,5 @@ playlist::SeekCurrent(PlayerControl &pc, float seek_time, bool relative)
if (seek_time < 0)
seek_time = 0;
- return SeekSongPosition(pc, current, seek_time);
+ return SeekSongOrder(pc, current, seek_time);
}