diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 00:10:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 00:10:33 +0100 |
commit | 0d4319ed302d0cfd8afb4cc32caf727b23f25805 (patch) | |
tree | 93d2b6a425ea7fe3e582c95e541fe0b9768b81f7 /src/song.h | |
parent | bd71d3ea78c23c9d344208c823e21cb7f900ba97 (diff) | |
download | mpd-0d4319ed302d0cfd8afb4cc32caf727b23f25805.tar.gz mpd-0d4319ed302d0cfd8afb4cc32caf727b23f25805.tar.xz mpd-0d4319ed302d0cfd8afb4cc32caf727b23f25805.zip |
playlist: calculate next song before deleting the current one
By calling queue_next_order() before playlist.current is invalidated
(by the deletion of a song), we get more robust results, and the code
becomes a little bit easier. incrPlaylistCurrent() is unused now, and
can be removed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions