Fix a null pointer crash in ImmGetOpenStatus.

This commit is contained in:
Raphael Junqueira 2003-05-15 04:18:03 +00:00 committed by Alexandre Julliard
parent ef104680ed
commit caa44e6e0a
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}