Better shorthand, change internal naming

This commit is contained in:
Matt Nadareski
2020-09-07 22:57:44 -07:00
parent 308de8dd73
commit e34f50c464
9 changed files with 26 additions and 22 deletions

View File

@@ -148,7 +148,7 @@ namespace SabreTools.Library.IO
return DatFormat.SoftwareList;
else if (second.StartsWith("<!doctype sabredat"))
return DatFormat.SabreDAT;
return DatFormat.SabreXML;
else if ((second.StartsWith("<dat") && !second.StartsWith("<datafile"))
|| second.StartsWith("<?xml-stylesheet"))