From 44aef85db1d716825527b5abedcc47bf735591ec Mon Sep 17 00:00:00 2001 From: Raul Tambre Date: Sun, 24 Feb 2019 11:37:42 +0200 Subject: [PATCH] [WINLOGON] Fix fallback keyboard layout flags --- base/system/winlogon/winlogon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/system/winlogon/winlogon.c b/base/system/winlogon/winlogon.c index eeba3a2334b..68783c828b9 100644 --- a/base/system/winlogon/winlogon.c +++ b/base/system/winlogon/winlogon.c @@ -204,7 +204,7 @@ InitKeyboardLayouts(VOID) if (!bRet) { /* If we failed, load US keyboard layout */ - if (LoadKeyboardLayoutW(L"00000409", 0x04090409)) + if (LoadKeyboardLayoutW(L"00000409", KLF_ACTIVATE | KLF_SUBSTITUTE_OK | KLF_REPLACELANG | KLF_SETFORPROCESS)) bRet = TRUE; }