https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9a8049cb39713444c60ec…
commit 9a8049cb39713444c60ec912d333c061cd0225f1
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Aug 18 19:53:14 2021 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Wed Aug 18 19:53:14 2021 +0900
[IMM32] s/0x400/_WIN32_WINNT_NT4/
Don't use magic numbers. CORE-11700
---
dll/win32/imm32/imm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index a2e16e46bf6..b6c2051d1fa 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -4649,7 +4649,7 @@ BOOL WINAPI ImmGenerateMessage(HIMC hIMC)
RtlCopyMemory(pTrans, pMsgs, cbTrans);
#ifdef IMP_SUPPORT
- if (GetWin32ClientInfo()->dwExpWinVer < 0x400) /* old version (3.x)? */
+ if (GetWin32ClientInfo()->dwExpWinVer < _WIN32_WINNT_NT4) /* old version (3.x)?
*/
{
LANGID LangID = LANGIDFROMLCID(GetSystemDefaultLCID());
WORD wLang = PRIMARYLANGID(LangID);
@@ -4700,7 +4700,7 @@ Imm32PostMessages(HWND hwnd, HIMC hIMC, DWORD dwCount, LPTRANSMSG
lpTransMsg)
ImmUnlockClientImc(pClientImc);
#ifdef IMP_SUPPORT
- if (GetWin32ClientInfo()->dwExpWinVer < 0x400) /* old version (3.x)? */
+ if (GetWin32ClientInfo()->dwExpWinVer < _WIN32_WINNT_NT4) /* old version (3.x)?
*/
{
LANGID LangID = LANGIDFROMLCID(GetSystemDefaultLCID());
WORD Lang = PRIMARYLANGID(LangID);