remove one use of Path.DirectorySeparatorChar

This commit is contained in:
Chris Forbes
2011-04-09 12:07:55 +12:00
parent 48a359e202
commit b633802ec2

View File

@@ -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))
{