https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f341e60fbe5a6377c292f…
commit f341e60fbe5a6377c292f82022e1433cb0b9f66d
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Sep 26 11:13:43 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Sep 26 11:13:43 2020 +0900
[USER32] Mute 'Imm Api Table Init 2' spam
CORE-11700
---
win32ss/user/user32/misc/imm.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/win32ss/user/user32/misc/imm.c b/win32ss/user/user32/misc/imm.c
index 03e040230a9..ef821aea8fa 100644
--- a/win32ss/user/user32/misc/imm.c
+++ b/win32ss/user/user32/misc/imm.c
@@ -55,9 +55,6 @@ BOOL WINAPI IntInitializeImmEntryTable(VOID)
WCHAR ImmFile[MAX_PATH];
HMODULE imm32 = ghImm32;
- if (IMM_FN(ImmWINNLSEnableIME) != IMMSTUB_ImmWINNLSEnableIME)
- return TRUE;
-
GetImmFileName(ImmFile, sizeof(ImmFile));
TRACE("File %ws\n",ImmFile);
@@ -104,11 +101,8 @@ BOOL WINAPI User32InitializeImmEntryTable(DWORD magic)
if (magic != IMM_INIT_MAGIC)
return FALSE;
- if (gImmApiEntries.pImmIsIME != 0)
- {
- ERR("Imm Api Table Init 2\n");
- return TRUE;
- }
+ if (IMM_FN(ImmIsIME) != IMMSTUB_ImmIsIME)
+ return TRUE;
IntInitializeImmEntryTable();