WinHelp must accept a NULL pointer to the help key string.
This commit is contained in:
parent
68e0d64d66
commit
ba2c8d49f5
|
@ -87,7 +87,7 @@ BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand,
|
|||
case HELP_KEY:
|
||||
case HELP_PARTIALKEY:
|
||||
case HELP_COMMAND:
|
||||
dsize = strlen( (LPSTR)dwData )+1;
|
||||
dsize = dwData ? strlen( (LPSTR)dwData )+1: 0;
|
||||
break;
|
||||
case HELP_MULTIKEY:
|
||||
dsize = ((LPMULTIKEYHELP)dwData)->mkSize;
|
||||
|
|
Loading…
Reference in New Issue