[WIN32SS] Reduce the amount of calls to IntGetFontLocalizedName, since this was ident...
[reactos.git] / reactos / win32ss / user / ntuser / main.c
index a784413..4ca68ae 100644 (file)
@@ -997,6 +997,8 @@ DriverEntry(
     NT_ROF(InitTimerImpl());
     NT_ROF(InitDCEImpl());
 
+    gusLanguageID = UserGetLanguageID();
+
     /* Initialize FreeType library */
     if (!InitFontSupport())
     {
@@ -1004,8 +1006,6 @@ DriverEntry(
         return Status;
     }
 
-    gusLanguageID = UserGetLanguageID();
-
     return STATUS_SUCCESS;
 }