mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-01 17:58:29 +00:00
- fixed tracklist::Standard from repeating the last song.
This commit is contained in:
parent
9ac32bd415
commit
f974d3b898
@ -101,7 +101,7 @@ void Standard::SetCurrentPosition(int position){
|
|||||||
this->currentPosition = -1;
|
this->currentPosition = -1;
|
||||||
}else{
|
}else{
|
||||||
if(position >= (int)this->tracks.size()){
|
if(position >= (int)this->tracks.size()){
|
||||||
this->currentPosition = this->tracks.size()-1;
|
this->currentPosition = this->tracks.size();
|
||||||
}else{
|
}else{
|
||||||
this->currentPosition = position;
|
this->currentPosition = position;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user