Преглед изворни кода

Reusing FromUnixPath

(cherry picked from commit b5b1478c13fb45b630ab0ef9beed36ecaf94f161)

Source commit: 0b54a2d0f64bddb94e985096c4ce537f611b08c7
Martin Prikryl пре 3 година
родитељ
комит
b118d29399
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      source/core/Common.cpp

+ 1 - 1
source/core/Common.cpp

@@ -882,7 +882,7 @@ UnicodeString __fastcall ExpandEnvironmentVariables(const UnicodeString & Str)
 UnicodeString GetNormalizedPath(const UnicodeString & Path)
 {
   UnicodeString Result = ExcludeTrailingBackslash(Path);
-  Result = ReplaceChar(Result, L'/', L'\\');
+  Result = FromUnixPath(Result);
   return Result;
 }
 //---------------------------------------------------------------------------