summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohann Uhrmann <johann.uhrmann@gmail.com>2020-08-23 12:17:10 +0200
committerJohann Uhrmann <johann.uhrmann@gmail.com>2020-08-23 12:17:10 +0200
commit38498d3ee268e044081ce6dd3d9f6e254817d069 (patch)
tree518af75262e74aa7d41a3260789b200c6a7bbf34 /src
parent35d1d0bc6e8d1f4b44b0a7f8ea6447b13e21a460 (diff)
Removed duplicate check for negative song time
Diffstat (limited to 'src')
-rw-r--r--src/queue/PlaylistControl.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/queue/PlaylistControl.cxx b/src/queue/PlaylistControl.cxx
index e3f619199..db01d5501 100644
--- a/src/queue/PlaylistControl.cxx
+++ b/src/queue/PlaylistControl.cxx
@@ -276,8 +276,6 @@ playlist::SeekCurrent(PlayerControl &pc,
throw PlaylistError::NotPlaying();
seek_time += status.elapsed_time;
- if (seek_time.IsNegative())
- seek_time = SignedSongTime::zero();
}
if (seek_time.IsNegative())