mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Logiqx] Fix writing header in Logiqx XML
This commit is contained in:
@@ -753,7 +753,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
(!String.IsNullOrWhiteSpace(Url) ? "\t\t<url>" + HttpUtility.HtmlEncode(Url) + "</url>\n" : "") +
|
(!String.IsNullOrWhiteSpace(Url) ? "\t\t<url>" + HttpUtility.HtmlEncode(Url) + "</url>\n" : "") +
|
||||||
(!String.IsNullOrWhiteSpace(Comment) ? "\t\t<comment>" + HttpUtility.HtmlEncode(Comment) + "</comment>\n" : "") +
|
(!String.IsNullOrWhiteSpace(Comment) ? "\t\t<comment>" + HttpUtility.HtmlEncode(Comment) + "</comment>\n" : "") +
|
||||||
(!String.IsNullOrWhiteSpace(Type) ? "\t\t<type>" + HttpUtility.HtmlEncode(Type) + "</type>\n" : "") +
|
(!String.IsNullOrWhiteSpace(Type) ? "\t\t<type>" + HttpUtility.HtmlEncode(Type) + "</type>\n" : "") +
|
||||||
(ForcePacking != ForcePacking.None || ForceMerging != ForceMerging.None || ForceNodump != ForceNodump.None ?
|
(ForcePacking != ForcePacking.None || ForceMerging != ForceMerging.None || ForceNodump != ForceNodump.None || !String.IsNullOrWhiteSpace(Header) ?
|
||||||
"\t\t<clrmamepro" +
|
"\t\t<clrmamepro" +
|
||||||
(ForcePacking == ForcePacking.Unzip ? " forcepacking=\"unzip\"" : "") +
|
(ForcePacking == ForcePacking.Unzip ? " forcepacking=\"unzip\"" : "") +
|
||||||
(ForcePacking == ForcePacking.Zip ? " forcepacking=\"zip\"" : "") +
|
(ForcePacking == ForcePacking.Zip ? " forcepacking=\"zip\"" : "") +
|
||||||
@@ -764,6 +764,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
(ForceNodump == ForceNodump.Ignore ? " forcenodump=\"ignore\"" : "") +
|
(ForceNodump == ForceNodump.Ignore ? " forcenodump=\"ignore\"" : "") +
|
||||||
(ForceNodump == ForceNodump.Obsolete ? " forcenodump=\"obsolete\"" : "") +
|
(ForceNodump == ForceNodump.Obsolete ? " forcenodump=\"obsolete\"" : "") +
|
||||||
(ForceNodump == ForceNodump.Required ? " forcenodump=\"required\"" : "") +
|
(ForceNodump == ForceNodump.Required ? " forcenodump=\"required\"" : "") +
|
||||||
|
(!String.IsNullOrWhiteSpace(Header) ? "header=\"" + Header + "\"" : "") +
|
||||||
" />\n"
|
" />\n"
|
||||||
: "") +
|
: "") +
|
||||||
"\t</header>\n";
|
"\t</header>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user