diff options
author | Max Kellermann <max@duempel.org> | 2009-06-29 22:27:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-06-29 22:27:57 +0200 |
commit | 706614b0d77b665805f78da24681af13454de774 (patch) | |
tree | 2b8ff780ad5ac6dcb2a4433fee6e2283c788f1a7 /src/locate.h | |
parent | a641f562f3aab2de95555c3c33133341d0f274b7 (diff) | |
download | mpd-706614b0d77b665805f78da24681af13454de774.tar.gz mpd-706614b0d77b665805f78da24681af13454de774.tar.xz mpd-706614b0d77b665805f78da24681af13454de774.zip |
playlist_state: don't save "current" song when none is set
This patch fixes an assertion failure:
Assertion `order < queue->length' failed.
This happens when the state file is saved, when there is no "current"
song: current==-1, and queue_order_to_position(-1) is called.
Diffstat (limited to 'src/locate.h')
0 files changed, 0 insertions, 0 deletions