From 97e2b9605eeaadeed83bbf0053c58417bb6d59f2 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 10 Oct 2005 10:27:37 +0000 Subject: [PATCH] Ensure we always have a title for the .hlp file. --- programs/winhelp/hlpfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c index e859c0ae908..0556b057556 100644 --- a/programs/winhelp/hlpfile.c +++ b/programs/winhelp/hlpfile.c @@ -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; } -- 2.11.4.GIT