Removed duplicate check for negative song time
This commit is contained in:
parent
35d1d0bc6e
commit
38498d3ee2
|
@ -276,8 +276,6 @@ playlist::SeekCurrent(PlayerControl &pc,
|
||||||
throw PlaylistError::NotPlaying();
|
throw PlaylistError::NotPlaying();
|
||||||
|
|
||||||
seek_time += status.elapsed_time;
|
seek_time += status.elapsed_time;
|
||||||
if (seek_time.IsNegative())
|
|
||||||
seek_time = SignedSongTime::zero();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seek_time.IsNegative())
|
if (seek_time.IsNegative())
|
||||||
|
|
Loading…
Reference in New Issue