aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-01 19:20:30 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-01 19:20:30 -0400
commit36648d27082c1ee50c1483e17f14ba1ae838a00e (patch)
tree17f0c11949829f9b5bd0aae4fb39b9ebd2eeed32 /MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs
parent37683565e71fc132dd7aaf77d4418afd4ea5f643 (diff)
fix path substitution
Diffstat (limited to 'MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs')
-rw-r--r--MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs4
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('/', '\\');
}
}