Ensure we always have a title for the .hlp file.
This commit is contained in:
parent
f50695c714
commit
97e2b9605e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue