Minor fixes to DatToMiss

This commit is contained in:
Matt Nadareski
2016-04-20 13:56:05 -07:00
parent e244b7a05a
commit dc590e218b

View File

@@ -160,8 +160,8 @@ namespace SabreTools.Helper
} }
// Normalize the extensions // Normalize the extensions
addext = (addext.StartsWith(".") ? addext : "." + addext); addext = (addext == "" || addext.StartsWith(".") ? addext : "." + addext);
repext = (repext.StartsWith(".") ? repext : "." + repext); repext = (repext == "" || repext.StartsWith(".") ? repext : "." + repext);
logger.Log("Opening file for writing: " + outdir + textfile); logger.Log("Opening file for writing: " + outdir + textfile);