1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-29 15:22:09 +00:00

Combat menu breakage due to speedmode™️

This commit is contained in:
Such Meme, Many Skill 2020-05-02 14:20:55 +02:00
parent 2cac144ba8
commit 0bf3b35582

View file

@ -160,7 +160,7 @@ int menu_make(menu_entry *entries, int amount, char *toptext){
refresh = true; refresh = true;
} }
if (refresh || currentfolder == NULL){ if (refresh || currentfolder == NULL || !calculatedamount){
for (int i = 0 + offset; i < amount && i < 40 + offset; i++) for (int i = 0 + offset; i < amount && i < 40 + offset; i++)
if (!(entries[i].property & ISHIDE)) if (!(entries[i].property & ISHIDE))
_printentry(&entries[i], (i == currentpos), refresh, toptext); _printentry(&entries[i], (i == currentpos), refresh, toptext);