diff options
author | Max Kellermann <max@duempel.org> | 2009-05-28 23:23:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-05-28 23:23:32 +0200 |
commit | 4e8208717bf8cdc46f4a5f04412c4cdf590ce59e (patch) | |
tree | 373cc0e32fa187092f3a0e83e39386d4954b6fe2 /src/fifo_buffer.c | |
parent | 6e3bd4f620022f5a6a1a464170fba1bdfa242e7e (diff) | |
download | mpd-4e8208717bf8cdc46f4a5f04412c4cdf590ce59e.tar.gz mpd-4e8208717bf8cdc46f4a5f04412c4cdf590ce59e.tar.xz mpd-4e8208717bf8cdc46f4a5f04412c4cdf590ce59e.zip |
playlist: reset "current song" when playlist ends
Commit f78cddb4 introduced a regression: when the playlist reached its
end, MPD did not reset the "current song" pointer anymore after stop.
Add a "current = -1" code line.
Diffstat (limited to 'src/fifo_buffer.c')
0 files changed, 0 insertions, 0 deletions