Przeglądaj źródła

Correcting parsing of BIDI_MODE

Source commit: 88d0e73b6b96822158a9e8ccef5b7d3a569227cc
Martin Prikryl 10 lat temu
rodzic
commit
ad12bcaad1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      source/windows/UserInterface.cpp

+ 1 - 1
source/windows/UserInterface.cpp

@@ -313,7 +313,7 @@ void __fastcall ConfigureInterface()
   S = LoadStr(BIDI_MODE);
   if (!S.IsEmpty())
   {
-    Application->BiDiMode = static_cast<TBiDiMode>(StrToInt(bdRightToLeft));
+    Application->BiDiMode = static_cast<TBiDiMode>(StrToInt(S));
   }
   else
   {