aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs
diff options
context:
space:
mode:
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('/', '\\');
}
}