widl: Pass the correct parent name when opening an import file.

Fixed a regression from 9d537999e3.
This commit is contained in:
Alexandre Julliard 2023-03-20 13:36:14 +01:00
parent ac95a5d483
commit 78dc4ce7a0

View file

@ -543,7 +543,7 @@ void push_import( char *import_name )
import->name = xstrdup( import_name );
list_add_tail( &imports, &import->entry );
input_name = find_input_file( import_name, input_name );
input_name = find_input_file( import_name, state->input_name );
file = open_input_file( input_name );
line_number = 1;