Fix bug where library source files were sometimes ignored.

This commit is contained in:
Christoffer Lerno
2023-08-09 21:34:58 +02:00
parent 6df6d2c084
commit 01a89e2145
5 changed files with 6 additions and 5 deletions

View File

@@ -554,7 +554,7 @@ void file_add_wildcard_files(const char ***files, const char *path, bool recursi
continue;
}
char *format = path_ends_with_slash ? "%s%s" : "%s/%s";
DEBUG_LOG("Added file");
DEBUG_LOG("Added file %s", ent->d_name);
vec_add(*files, str_printf(format, path, ent->d_name));
}
closedir(dir);