Commit ba2c8d49 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

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

parent 68e0d64d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment