diff options
author | Max Kellermann <max@duempel.org> | 2013-11-05 18:22:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-05 18:22:34 +0100 |
commit | ae5dd2da4fa695a19032136a845ea43e7c105bff (patch) | |
tree | 04a2b427ca41bb1a88e8c44791987d4f123f2084 /src/playlist | |
parent | f4b61e8c8dc04e89514677018900ac357d4f5a2b (diff) | |
download | mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.tar.gz mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.tar.xz mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.zip |
playlist/pls: fix reversed song order
Remove the forward_list::reverse() call. It was not necessary,
because pls_parser() already reads the playlist in reverse order.
Diffstat (limited to 'src/playlist')
-rw-r--r-- | src/playlist/PlsPlaylistPlugin.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/playlist/PlsPlaylistPlugin.cxx b/src/playlist/PlsPlaylistPlugin.cxx index b6c723b5a..d44a34cdf 100644 --- a/src/playlist/PlsPlaylistPlugin.cxx +++ b/src/playlist/PlsPlaylistPlugin.cxx @@ -155,7 +155,6 @@ pls_open_stream(InputStream &is) pls_parser(keyfile, songs); g_key_file_free(keyfile); - songs.reverse(); return new MemorySongEnumerator(std::move(songs)); } |