winhlp32: Fix crash on launch.
This commit is contained in:
parent
d099c90ea3
commit
1a0a47d60c
|
@ -274,7 +274,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name)
|
|||
{
|
||||
strcpy(mwi.type, "primary");
|
||||
strcpy(mwi.name, "main");
|
||||
if (hlpfile->lpszTitle[0])
|
||||
if (hlpfile && hlpfile->lpszTitle[0])
|
||||
{
|
||||
char tmp[128];
|
||||
LoadString(Globals.hInstance, STID_WINE_HELP, tmp, sizeof(tmp));
|
||||
|
|
Loading…
Reference in New Issue