From 928d612ac5feeb0ca1feb9b4938cf209e11c1fce Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 13 Aug 2018 11:26:28 +0100 Subject: development/bless: Added (GUI hex editor). Signed-off-by: David Spencer --- development/bless/patches/fixxmltextwriter.patch | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 development/bless/patches/fixxmltextwriter.patch (limited to 'development/bless/patches/fixxmltextwriter.patch') diff --git a/development/bless/patches/fixxmltextwriter.patch b/development/bless/patches/fixxmltextwriter.patch new file mode 100644 index 0000000000..2b241d5525 --- /dev/null +++ b/development/bless/patches/fixxmltextwriter.patch @@ -0,0 +1,31 @@ +diff --git a/src/tools/Preferences.cs b/src/tools/Preferences.cs +index 192bf14..775a83e 100644 +--- a/src/tools/Preferences.cs ++++ b/src/tools/Preferences.cs +@@ -132,6 +132,7 @@ public class Preferences + xml.Indentation = 1; + xml.IndentChar = '\t'; + ++ xml.WriteStartDocument(true); + xml.WriteStartElement(null, "preferences", null); + + foreach (DictionaryEntry entry in prefs) { +diff --git a/src/tools/Session.cs b/src/tools/Session.cs +index 7980cc0..5184632 100644 +--- a/src/tools/Session.cs ++++ b/src/tools/Session.cs +@@ -77,6 +77,7 @@ public class Session + xml.Indentation = 1; + xml.IndentChar = '\t'; + ++ xml.WriteStartDocument(true); + xml.WriteStartElement(null, "session", null); + + xml.WriteStartElement(null, "windowheight", null); +@@ -194,4 +195,4 @@ public class SessionFileInfo + } + } + +-} // end namespace +\ No newline at end of file ++} // end namespace -- cgit v1.2.3