Fix hidden directories/files no longer showing up

This commit is contained in:
twinaphex 2017-05-20 17:45:02 +02:00
parent 0742ebec21
commit 1ac44d8eca

View File

@ -124,7 +124,7 @@ static int parse_dir_entry(const char *name, char *file_path,
if (!include_dirs && is_dir)
return 1;
if (string_is_equal_fast(name, ".", 1) || string_is_equal_fast(name, "..", 2))
if (!strcmp(name, ".") || !strcmp(name, ".."))
return 1;
if (!is_dir && ext_list &&