[FileTools] Make detection of DAT formats more correctly

This commit is contained in:
Matt Nadareski
2016-10-05 10:24:36 -07:00
parent 0b04d50542
commit a53591a7b5

View File

@@ -106,7 +106,7 @@ namespace SabreTools.Helper
{
return OutputFormat.SabreDat;
}
else if (second.StartsWith("<dat"))
else if (second.StartsWith("<dat") && !second.StartsWith("<datafile"))
{
return OutputFormat.OfflineList;
}