1
0
Эх сурвалжийг харах

Reusing FromUnixPath

(cherry picked from commit b5b1478c13fb45b630ab0ef9beed36ecaf94f161)

Source commit: 0b54a2d0f64bddb94e985096c4ce537f611b08c7
Martin Prikryl 3 жил өмнө
parent
commit
b118d29399

+ 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;
 }
 //---------------------------------------------------------------------------