[DatFile, Style] Fix statistics output

This commit is contained in:
Matt Nadareski
2017-10-19 13:31:05 -07:00
parent be781c3d1c
commit 91f52902dd
2 changed files with 11 additions and 1 deletions

View File

@@ -340,6 +340,12 @@ namespace SabreTools.Library.Tools
Directory.CreateDirectory(outDir);
}
// Double check the outDir for the end delim
if (!outDir.EndsWith(Path.DirectorySeparatorChar.ToString()))
{
outDir += Path.DirectorySeparatorChar;
}
// For each output format, get the appropriate stream writer
if ((statDatFormat & StatDatFormat.None) != 0)
{