فهرست منبع

fix path substitution

Luke Pulverenti 11 سال پیش
والد
کامیت
36648d2708
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs

+ 2 - 2
MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs

@@ -357,11 +357,11 @@ namespace MediaBrowser.Common.Implementations.IO
             {
                 if (to.IndexOf('/') != -1)
                 {
-                    newPath = path.Replace('\\', '/');
+                    newPath = newPath.Replace('\\', '/');
                 }
                 else
                 {
-                    newPath = path.Replace('/', '\\');
+                    newPath = newPath.Replace('/', '\\');
                 }
             }