diff options
author | Maarten Sebregts <maartensebregts@gmail.com> | 2011-12-19 21:15:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-12-21 10:29:07 +0100 |
commit | 3a9697adf268d780500cc53432efa4f164db7bb4 (patch) | |
tree | f3bb124f2d75f3abc4ed2fac9845ca7d09a7c187 /src/encoder_list.c | |
parent | 96ad5b84446be0bf603895adaf0ec2e97bee11aa (diff) | |
download | mpd-3a9697adf268d780500cc53432efa4f164db7bb4.tar.gz mpd-3a9697adf268d780500cc53432efa4f164db7bb4.tar.xz mpd-3a9697adf268d780500cc53432efa4f164db7bb4.zip |
Playlist: fix bug in moving after current song
Moving songs using either 'move' or 'moveid' to position -1 (after the
current song) would fail for a song which is just before the current
song.
This patch corrects the check to see if the current song is in the range
to be moved. Since the range is from `start` up to `end` (exclusive) the
check was incorrect, but is now fixed.
Diffstat (limited to 'src/encoder_list.c')
0 files changed, 0 insertions, 0 deletions