From 36648d27082c1ee50c1483e17f14ba1ae838a00e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 1 Jun 2014 19:20:30 -0400 Subject: [PATCH] fix path substitution --- MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs | 4 ++-- 1 file 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('/', '\\'); } }