Skip to content

Commit ed0831b

Browse files
committed
Spore ModAPI Launcher: use Path.Combine() in ExtractFixFiles()
1 parent 58fb847 commit ed0831b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spore ModAPI Launcher/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ static bool ExtractFixFiles(MemoryStream zipStream, string outputPath)
404404
{
405405
foreach (var entry in archive.Entries)
406406
{
407-
entry.ExtractToFile(outputPath + entry.Name, true);
407+
entry.ExtractToFile(Path.Combine(outputPath, entry.Name), true);
408408
}
409409
}
410410
return true;

0 commit comments

Comments
 (0)