Skip to content
Snippets Groups Projects
Commit ba2c8d49 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard
Browse files

WinHelp must accept a NULL pointer to the help key string.

parent 68e0d64d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment