Commit 97e2b960 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

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