diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-01 19:20:30 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-01 19:20:30 -0400 |
| commit | 36648d27082c1ee50c1483e17f14ba1ae838a00e (patch) | |
| tree | 17f0c11949829f9b5bd0aae4fb39b9ebd2eeed32 | |
| parent | 37683565e71fc132dd7aaf77d4418afd4ea5f643 (diff) | |
fix path substitution
| -rw-r--r-- | MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs b/MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs index 014fd6f82..dfe93c5c9 100644 --- a/MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs +++ b/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('/', '\\'); } } |
