aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-11-13 20:45:50 +0100
committerMax Kellermann <max@duempel.org>2015-11-13 20:45:50 +0100
commit004da5d3858ba7215e2a294592fabeaeb374e693 (patch)
tree8847c85a57da2f4e1adb4c3a347967adfaba1740
parent0368282486bfcb9d4a8640c7fdafc94f3f96c42d (diff)
downloadmpd-004da5d3858ba7215e2a294592fabeaeb374e693.tar.gz
mpd-004da5d3858ba7215e2a294592fabeaeb374e693.tar.xz
mpd-004da5d3858ba7215e2a294592fabeaeb374e693.zip
queue/Save: fix "Malformed playlist line in state file"
Regression by commit 738583e3
-rw-r--r--src/queue/QueueSave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/QueueSave.cxx b/src/queue/QueueSave.cxx
index 3b9589450..f38bd30b4 100644
--- a/src/queue/QueueSave.cxx
+++ b/src/queue/QueueSave.cxx
@@ -94,7 +94,7 @@ queue_load_song(TextFile &file, const SongLoader &loader,
DetachedSong *song;
- if ((p = StringAfterPrefix(line, PRIO_LABEL))) {
+ if ((p = StringAfterPrefix(line, SONG_BEGIN))) {
const char *uri = p;
Error error;