Still not bright
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9666 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de25006ad9
commit
530cad32e8
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ size_t buffer_count_tracks(int from_track, int to_track) {
|
||||||
from_track -= MAX_TRACK;
|
from_track -= MAX_TRACK;
|
||||||
need_wrap = false;
|
need_wrap = false;
|
||||||
}
|
}
|
||||||
if (from_track < to_track || need_wrap)
|
if (from_track >= to_track && !need_wrap)
|
||||||
break;
|
break;
|
||||||
amount += tracks[from_track].codecsize + tracks[from_track].filesize;
|
amount += tracks[from_track].codecsize + tracks[from_track].filesize;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue