Commit 188011ac authored by Warren Dukes's avatar Warren Dukes

patch from np for orderPlaylist()

git-svn-id: https://svn.musicpd.org/mpd/trunk@1673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent be37cb02
......@@ -1090,7 +1090,9 @@ int moveSongInPlaylistById(FILE * fp, int id1, int to) {
void orderPlaylist() {
int i;
playlist.current = playlist.order[playlist.current];
if(playlist.current >= 0 && playlist.current < playlist.length) {
playlist.current = playlist.order[playlist.current];
}
if(playlist_state==PLAYLIST_STATE_PLAY) {
if(playlist.queued>=0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment