Fix file selector disappearing in large directory
This fixes issue #27. Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
@@ -85,7 +85,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
fileNum--;
|
fileNum--;
|
||||||
|
|
||||||
if(fileMax - fileNum >= from && from != 0)
|
/* 26 is the maximum number of entries that can be printed */
|
||||||
|
if(fileMax - fileNum > 26 && from != 0)
|
||||||
from--;
|
from--;
|
||||||
|
|
||||||
mill = osGetTime();
|
mill = osGetTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user