[USERINIT]
authorEric Kohl <eric.kohl@reactos.org>
Thu, 11 Feb 2016 20:00:46 +0000 (20:00 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Thu, 11 Feb 2016 20:00:46 +0000 (20:00 +0000)
Make the language selection work as expected.

svn path=/trunk/; revision=70708

reactos/base/system/userinit/livecd.c
reactos/base/system/userinit/userinit.h

index 4d8b623..7a00414 100644 (file)
@@ -402,7 +402,7 @@ LocaleDlgProc(
                 if (NewLcid == (LCID)CB_ERR)
                     break;
 
-                            SetThreadLocale(NewLcid);
+                            NtSetDefaultLocale(TRUE, NewLcid);
                             InitializeDefaultUserLocale(&NewLcid);
                         }
 
index 60d4310..bb2c4bb 100644 (file)
@@ -21,6 +21,8 @@
 #include <winnls.h>
 #include <stdio.h>
 
+#include <ndk/exfuncs.h>
+
 #include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(userinit);