mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
Don't show files that start with .
This commit is contained in:
parent
4f1657ab2c
commit
a5662505fa
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user