Ensure we always have a title for the .hlp file.

This commit is contained in:
Eric Pouech 2005-10-10 10:27:37 +00:00 committed by Alexandre Julliard
parent f50695c714
commit 97e2b9605e

View file

@ -1448,6 +1448,8 @@ static BOOL HLPFILE_SystemCommands(HLPFILE* hlpfile)
WINE_WARN("Unsupported SystemRecord[%d]\n", GET_USHORT(ptr, 0));
}
}
if (!hlpfile->lpszTitle)
hlpfile->lpszTitle = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, 1);
return TRUE;
}