diff --git a/OpenRA.Utility/Util.cs b/OpenRA.Utility/Util.cs index b672e70735..cf488a2d4a 100644 --- a/OpenRA.Utility/Util.cs +++ b/OpenRA.Utility/Util.cs @@ -32,7 +32,7 @@ namespace OpenRA.Utility foreach (string s in files) { - var destFile = "{0}{1}{2}".F(destPath, Path.DirectorySeparatorChar, s); + var destFile = Path.Combine(destPath, s); using (var sourceStream = FileSystem.Open(s)) using (var destStream = File.Create(destFile)) {