Fix a null pointer crash in ImmGetOpenStatus.
This commit is contained in:
parent
ef104680ed
commit
caa44e6e0a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue