From 4211679e0ed94a6b96810be3b5e0e73e0cbf1d0b Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 26 Feb 2018 19:01:40 -0500 Subject: [PATCH] In menuScan(), ignore names starting with '.'. --- common/menu-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/menu-list.c b/common/menu-list.c index 67db454..31a9066 100644 --- a/common/menu-list.c +++ b/common/menu-list.c @@ -98,8 +98,8 @@ int menuScan(const char* target) { { menuEntry_s* me = NULL; bool shortcut = false; - /*if (entry->attributes & FS_ATTRIBUTE_HIDDEN) - continue;*/ + if (dp->d_name[0]=='.') + continue; bool entrytype=0;