* Sync with trunk r64401.
[reactos.git] / base / applications / mscutils / servman / servman.c
index c6756d4..7db7748 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "precomp.h"
 
+#include <winnls.h>
+
 HINSTANCE hInstance;
 HANDLE ProcessHeap;
 
@@ -23,7 +25,17 @@ _tWinMain(HINSTANCE hThisInstance,
     MSG Msg;
     int Ret = 1;
     INITCOMMONCONTROLSEX icex;
+    
+    switch (GetUserDefaultUILanguage())
+  {
+    case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
+      SetProcessDefaultLayout(LAYOUT_RTL);
+      break;
 
+    default:
+      break;
+  }
+    
     hInstance = hThisInstance;
     ProcessHeap = GetProcessHeap();