Commit 38498d3e authored by Johann Uhrmann's avatar Johann Uhrmann

Removed duplicate check for negative song time

parent 35d1d0bc
...@@ -276,8 +276,6 @@ playlist::SeekCurrent(PlayerControl &pc, ...@@ -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())
......
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