mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
preproc: Use found path when opening include
It's a typo in 169ac7c152
https://bugzilla.nasm.us/show_bug.cgi?id=3392378
Reported-by: Ryan Prichard <ryan.prichard@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
a6ccf005a5
commit
4ff8c63ab6
@ -1614,7 +1614,7 @@ static FILE *inc_fopen(const char *file,
|
||||
}
|
||||
|
||||
if (!fp && omode != INC_PROBE)
|
||||
fp = nasm_open_read(file, fmode);
|
||||
fp = nasm_open_read(path, fmode);
|
||||
|
||||
if (found_path)
|
||||
*found_path = path;
|
||||
|
Loading…
Reference in New Issue
Block a user