Commit caa44e6e authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard

Fix a null pointer crash in ImmGetOpenStatus.

parent ef104680
......@@ -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;
}
......
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