Commit c194b2e8 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

Always initialize header file name, to prevent "#include (null)"

statements in generated files.
parent 820dce12
......@@ -231,7 +231,7 @@ int main(int argc,char *argv[])
(debuglevel & DEBUGLEVEL_PPTRACE) != 0,
(debuglevel & DEBUGLEVEL_PPMSG) != 0 );
if (!header_name && do_header) {
if (!header_name) {
header_name = dup_basename(input_name, ".idl");
strcat(header_name, ".h");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment