From a5bdf6aaeb716376f9e078fba7ea50ecb636158e Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 19 Jun 2004 23:43:46 +0000 Subject: fix move command git-svn-id: https://svn.musicpd.org/mpd/trunk@1574 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/playlist.c b/src/playlist.c index 7c5410c66..204c5e231 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -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; -- cgit v1.2.3