From f974d3b89836bd5cca57b8ea012abdf1235a04fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96nnerby?= Date: Thu, 24 Apr 2008 19:51:40 +0000 Subject: [PATCH] - fixed tracklist::Standard from repeating the last song. --- src/core/tracklist/Standard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tracklist/Standard.cpp b/src/core/tracklist/Standard.cpp index 617802836..918d1f86b 100644 --- a/src/core/tracklist/Standard.cpp +++ b/src/core/tracklist/Standard.cpp @@ -101,7 +101,7 @@ void Standard::SetCurrentPosition(int position){ this->currentPosition = -1; }else{ if(position >= (int)this->tracks.size()){ - this->currentPosition = this->tracks.size()-1; + this->currentPosition = this->tracks.size(); }else{ this->currentPosition = position; }