mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix partial paths being output to dep files with -i
This commit is contained in:
@@ -369,7 +369,7 @@ FILE *fstk_FindFile(char *fname, char **incPathUsed)
|
||||
f = fopen(path, "rb");
|
||||
|
||||
if (f != NULL || errno != ENOENT) {
|
||||
printdep(fname);
|
||||
printdep(path);
|
||||
|
||||
if (incPathUsed)
|
||||
*incPathUsed = IncludePaths[i];
|
||||
|
||||
Reference in New Issue
Block a user