From dc590e218bffd5a5947aaf6b75436063911aecbc Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 20 Apr 2016 13:56:05 -0700 Subject: [PATCH] Minor fixes to DatToMiss --- SabreHelper/Output.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreHelper/Output.cs b/SabreHelper/Output.cs index bbe32a8e..cad152cb 100644 --- a/SabreHelper/Output.cs +++ b/SabreHelper/Output.cs @@ -160,8 +160,8 @@ namespace SabreTools.Helper } // Normalize the extensions - addext = (addext.StartsWith(".") ? addext : "." + addext); - repext = (repext.StartsWith(".") ? repext : "." + repext); + addext = (addext == "" || addext.StartsWith(".") ? addext : "." + addext); + repext = (repext == "" || repext.StartsWith(".") ? repext : "." + repext); logger.Log("Opening file for writing: " + outdir + textfile);