fix move command
git-svn-id: https://svn.musicpd.org/mpd/trunk@1574 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
021f7d8704
commit
a5bdf6aaeb
@ -1049,7 +1049,7 @@ int moveSongInPlaylist(FILE * fp, int from, int to) {
|
||||
moveSongFromTo(i-1, i);
|
||||
}
|
||||
/* put song at _to_ */
|
||||
playlist.idToNum[playlist.numToId[tmpId]] = to;
|
||||
playlist.idToNum[tmpId] = to;
|
||||
playlist.numToId[to] = tmpId;
|
||||
playlist.songs[to] = tmpSong;
|
||||
playlist.songMod[to] = playlist.version;
|
||||
|
Loading…
Reference in New Issue
Block a user