Ignore hidden files when using wildcards.
This commit is contained in:
1 parent
ec1bb508b3
commit
14cdcc1497
5 files changed
+7
-7
No files matched your search
@@ -45,7 +45,7 @@ int ini_parse(link_t *dst, char *ini_path, bool is_dir)
|
||||
|
||||
if (is_dir)
|
||||
{
|
||||
filelist = dirlist(filename, "*.ini");
|
||||
filelist = dirlist(filename, "*.ini", false);
|
||||
if (!filelist)
|
||||
{
|
||||
free(filename);
|
||||
|
||||
Reference in new issue
Block a user