Browse: Some directories werent show as directories. fixed

This commit is contained in:
penfold42 2018-08-03 22:37:39 +10:00
parent 550677cc93
commit 52a74a6f5c

View file

@ -557,6 +557,7 @@ void FileBrowser::RefreshFolderEntries()
f_closedir(&dir); f_closedir(&dir);
strcpy(entry.filImage.fname, ".."); strcpy(entry.filImage.fname, "..");
entry.filImage.fattrib |= AM_DIR;
entry.filIcon.fname[0] = 0; entry.filIcon.fname[0] = 0;
folder.entries.push_back(entry); folder.entries.push_back(entry);