From 36bc30d205bf3c31708ed1d95c96699df4c284fe Mon Sep 17 00:00:00 2001 From: dborth Date: Thu, 24 Jun 2010 23:39:04 +0000 Subject: [PATCH] bugfix --- source/fileop.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;