mpd/src/queue
Max Kellermann 12a86c4975 queue/PlaylistEdit: fix relative destination offset when moving a range
Commit 13208bf5a7 added range support to
the `move` command, but applied the wrong offset to the `to` variable.
When the source range is before the current song, and the song thus
gets decremented by the range size, then the final destination offset
must also be decremented by the range size.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/663
2019-10-15 17:00:16 +02:00
..
IdTable.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
Listener.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
Playlist.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Playlist.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
PlaylistControl.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
PlaylistEdit.cxx queue/PlaylistEdit: fix relative destination offset when moving a range 2019-10-15 17:00:16 +02:00
PlaylistState.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
PlaylistState.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
PlaylistTag.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
PlaylistUpdate.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Queue.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Queue.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
QueuePrint.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
QueuePrint.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
QueueSave.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
QueueSave.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00