Browse Source

fix path substitution

Luke Pulverenti 11 years ago
parent
commit
36648d2708
1 changed files with 2 additions and 2 deletions
  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)
                 if (to.IndexOf('/') != -1)
                 {
                 {
-                    newPath = path.Replace('\\', '/');
+                    newPath = newPath.Replace('\\', '/');
                 }
                 }
                 else
                 else
                 {
                 {
-                    newPath = path.Replace('/', '\\');
+                    newPath = newPath.Replace('/', '\\');
                 }
                 }
             }
             }