Author: ekohl
Date: Thu Feb 11 20:00:46 2016
New Revision: 70708
URL:
http://svn.reactos.org/svn/reactos?rev=70708&view=rev
Log:
[USERINIT]
Make the language selection work as expected.
Modified:
trunk/reactos/base/system/userinit/livecd.c
trunk/reactos/base/system/userinit/userinit.h
Modified: trunk/reactos/base/system/userinit/livecd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/userinit/livec…
==============================================================================
--- trunk/reactos/base/system/userinit/livecd.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/userinit/livecd.c [iso-8859-1] Thu Feb 11 20:00:46 2016
@@ -402,7 +402,7 @@
if (NewLcid == (LCID)CB_ERR)
break;
- SetThreadLocale(NewLcid);
+ NtSetDefaultLocale(TRUE, NewLcid);
InitializeDefaultUserLocale(&NewLcid);
}
Modified: trunk/reactos/base/system/userinit/userinit.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/userinit/useri…
==============================================================================
--- trunk/reactos/base/system/userinit/userinit.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/userinit/userinit.h [iso-8859-1] Thu Feb 11 20:00:46 2016
@@ -20,6 +20,8 @@
#include <undocuser.h>
#include <winnls.h>
#include <stdio.h>
+
+#include <ndk/exfuncs.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(userinit);