[WINLOGON] Fix fallback keyboard layout flags
authorRaul Tambre <raul@tambre.ee>
Sun, 24 Feb 2019 09:37:42 +0000 (11:37 +0200)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Sun, 24 Feb 2019 14:21:38 +0000 (15:21 +0100)
base/system/winlogon/winlogon.c

index eeba3a2..68783c8 100644 (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;
     }