mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
preproc: Use found path when opening include
It's a typo in 169ac7c152ee13ed0c470ceb3371e9afb10e9a60 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…
x
Reference in New Issue
Block a user