From b633802ec25685a870b8e4a290ce50018efcf565 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 9 Apr 2011 12:07:55 +1200 Subject: [PATCH] remove one use of Path.DirectorySeparatorChar --- OpenRA.Utility/Util.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {