mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Check for the length of a track being <= 0 instead of == 0 when seeking.
This commit is contained in:
parent
cb1f82d12f
commit
73792668eb
@ -349,7 +349,7 @@ void Player::SeekTo(int seconds) {
|
||||
|
||||
// If the length is 0 then either there is no song playing, or the song isn't
|
||||
// seekable.
|
||||
if (length_nanosec == 0) {
|
||||
if (length_nanosec <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user