mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +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");
|
f = fopen(path, "rb");
|
||||||
|
|
||||||
if (f != NULL || errno != ENOENT) {
|
if (f != NULL || errno != ENOENT) {
|
||||||
printdep(fname);
|
printdep(path);
|
||||||
|
|
||||||
if (incPathUsed)
|
if (incPathUsed)
|
||||||
*incPathUsed = IncludePaths[i];
|
*incPathUsed = IncludePaths[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user