From a26ead035a4574bf2cae6b7fad661a1354ee8641 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 31 Aug 2014 14:44:20 +0200 Subject: 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. --- src/PlaylistControl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3