Skip to content
Snippets Groups Projects
Commit caa44e6e authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard
Browse files

Fix a null pointer crash in ImmGetOpenStatus.

parent ef104680
No related branches found
No related tags found
No related merge requests found
......@@ -612,10 +612,12 @@ UINT WINAPI ImmGetIMEFileNameW(
*/
BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
{
InputContextData *data = (InputContextData*)hIMC;
InputContextData *data = (InputContextData*)hIMC;
FIXME("(%p): semi-stub\n", hIMC);
if (!data) return FALSE;
return data->bOpen;
}
......
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