In menuScan(), ignore names starting with '.'.

This commit is contained in:
yellows8 2018-02-26 19:01:40 -05:00
parent 65d3a19499
commit 4211679e0e

View File

@ -98,8 +98,8 @@ int menuScan(const char* target) {
{ {
menuEntry_s* me = NULL; menuEntry_s* me = NULL;
bool shortcut = false; bool shortcut = false;
/*if (entry->attributes & FS_ATTRIBUTE_HIDDEN) if (dp->d_name[0]=='.')
continue;*/ continue;
bool entrytype=0; bool entrytype=0;