Skip to content

Commit

Permalink
Update cute_files.h to upstream f04e37c5a8ba1c7ce385b0f38b584bec1056e831
Browse files Browse the repository at this point in the history
  • Loading branch information
sigiesec committed Oct 22, 2020
1 parent 58d1e12 commit 9601fa6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/external/cute_files.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,12 @@ void cf_traverse(const char* path, cf_callback_t* cb, void* udata)
while (dir.has_next)
{
cf_file_t file;
cf_read_file(&dir, &file);
int res = cf_read_file(&dir, &file);

if (res == 0) {
cf_dir_next(&dir);
continue;
}

if (file.is_dir && file.name[0] != '.')
{
Expand Down

0 comments on commit 9601fa6

Please sign in to comment.