diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/playlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c index 4c2adc5d9..0455673d7 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -1231,6 +1231,9 @@ int seekSongInPlaylist(FILE * fp, int song, float time) { } else if(playPlaylistOrderNumber(fp,i)<0) return -1; - if(playlist.current!=i) if(playPlaylistOrderNumber(fp,i)<0) return -1; + if(playlist.current!=i) { + if(playPlaylistOrderNumber(fp,i)<0) return -1; + } + return playerSeek(fp,playlist.songs[playlist.order[i]]->utf8file,time); } |