https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8a48446d1160dd8c30872…
commit 8a48446d1160dd8c308720068ad9e97aa1c89062
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Sep 16 17:41:12 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Fri Sep 16 17:41:12 2022 +0900
[NTUSER] Use IS_CICERO_MODE() macro in co_UserActivateKeyboardLayout
CORE-11700
---
win32ss/user/ntuser/kbdlayout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/kbdlayout.c b/win32ss/user/ntuser/kbdlayout.c
index 2f1aed71039..6ce1523d208 100644
--- a/win32ss/user/ntuser/kbdlayout.c
+++ b/win32ss/user/ntuser/kbdlayout.c
@@ -742,7 +742,7 @@ co_UserActivateKeyboardLayout(
/* Send WM_IME_SYSTEM:IMS_SENDNOTIFICATION message if necessary */
if (pti && !(pti->TIF_flags & TIF_CSRSSTHREAD))
{
- if (IS_IME_HKL(pKL->hkl) || (gpsi->dwSRVIFlags &
SRVINFO_CICERO_ENABLED))
+ if (IS_IME_HKL(pKL->hkl) || IS_CICERO_MODE())
{
pImeWnd = pti->spwndDefaultIme;
if (pImeWnd)