Skip to content

Commit f76ed06

Browse files
[IMM32] ImmEnumInputContext: Add IS_IMM_MODE check (reactos#8768)
1 parent 9dde8d4 commit f76ed06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

win32ss/user/imm32/imm.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,12 @@ ImmEnumInputContext(
11311131
HIMC hIMC;
11321132

11331133
TRACE("(%lu, %p, %p)\n", dwThreadId, lpfn, lParam);
1134+
1135+
if (!IS_IMM_MODE())
1136+
{
1137+
TRACE("\n");
1138+
return FALSE;
1139+
}
11341140

11351141
dwCount = Imm32BuildHimcList(dwThreadId, &phList);
11361142
if (IS_ZERO_UNEXPECTEDLY(dwCount))

0 commit comments

Comments
 (0)