Prevent crash using CJK locale but no input method.

This commit is contained in:
Mike McCormack 2004-10-04 19:29:43 +00:00 committed by Alexandre Julliard
parent 5d460f2761
commit 1c9d435ee3
1 changed files with 3 additions and 0 deletions

View File

@ -1050,6 +1050,9 @@ BOOL WINAPI ImmNotifyIME(
FIXME("(%p, %ld, %ld, %ld): stub\n", FIXME("(%p, %ld, %ld, %ld): stub\n",
hIMC, dwAction, dwIndex, dwValue); hIMC, dwAction, dwIndex, dwValue);
if (!root_context)
return rc;
switch(dwAction) switch(dwAction)
{ {
case NI_CHANGECANDIDATELIST: case NI_CHANGECANDIDATELIST: