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

statements in generated files.
This commit is contained in:
Juan Lang 2005-04-18 16:54:54 +00:00 committed by Alexandre Julliard
parent 820dce129a
commit c194b2e853
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}