[WINLOGON] Fix fallback keyboard layout flags

This commit is contained in:
Raul Tambre 2019-02-24 11:37:42 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent 26b52c4e06
commit 44aef85db1

View file

@ -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;
}