Skip to content

Commit

Permalink
[IMM32] Reduce magic numbers from CtfImmSetLangBand
Browse files Browse the repository at this point in the history
CORE-11700
  • Loading branch information
katahiromz committed Aug 15, 2022
1 parent f9a11d1 commit eb674f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dll/win32/imm32/keymsg.c
Expand Up @@ -313,7 +313,8 @@ LRESULT APIENTRY CtfImmSetLangBand(HWND hWnd, BOOL fSet)

if (pWnd->state2 & WNDS2_WMCREATEMSGPROCESSED)
{
SendMessageTimeoutW(hWnd, 0x505, 0, fSet, 3, 5000, &lResult);
SendMessageTimeoutW(hWnd, WM_USER + 0x105, 0, fSet, SMTO_BLOCK | SMTO_ABORTIFHUNG,
5000, &lResult);
return lResult;
}

Expand Down

0 comments on commit eb674f3

Please sign in to comment.