1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 03:45:56 +01:00

Check for the length of a track being <= 0 instead of == 0 when seeking.

This commit is contained in:
David Sansome 2012-07-15 12:17:44 +01:00
parent cb1f82d12f
commit 73792668eb

View File

@ -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;
}