Don't show files that start with .

This commit is contained in:
Pk11 2022-01-14 10:36:03 -06:00
parent 4f1657ab2c
commit a5662505fa

View File

@ -163,7 +163,7 @@ static void generateList(Menu* m)
//scan /dsi/
while ( (ent = readdir(dir)) && !done)
{
if (strcmp(".", ent->d_name) == 0 || strcmp("..", ent->d_name) == 0)
if (ent->d_name[0] == '.')
continue;
if (ent->d_type == DT_DIR)