diff --git a/source/fileop.cpp b/source/fileop.cpp index 3ee86d9..238a74a 100644 --- a/source/fileop.cpp +++ b/source/fileop.cpp @@ -631,13 +631,14 @@ ParseDirectory(bool waitParse) if(IsDeviceRoot(browser.dir)) { - browser.numEntries = 1; + AddBrowserEntry(); sprintf(browserList[0].filename, ".."); sprintf(browserList[0].displayname, "Up One Level"); browserList[0].length = 0; browserList[0].mtime = 0; browserList[0].isdir = 1; // flag this as a dir browserList[0].icon = ICON_FOLDER; + browser.numEntries++; } parseHalt = false;