Index: imm.c =================================================================== RCS file: /home/wine/wine/dlls/imm32/imm.c,v retrieving revision 1.21 diff -u -r1.21 imm.c --- imm.c 13 May 2003 22:12:24 -0000 1.21 +++ imm.c 15 May 2003 01:15:59 -0000 @@ -612,9 +612,11 @@ */ 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; }