diff options
author | B. Watson <yalhcru@gmail.com> | 2018-08-13 11:26:28 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-18 08:39:47 +0700 |
commit | 928d612ac5feeb0ca1feb9b4938cf209e11c1fce (patch) | |
tree | 66f3a4e2b445b9098646a3fe69f934197260fcc1 /development/bless/patches/fixxmltextwriter.patch | |
parent | aad280b6459b93075af2c5f92ffc955adb24c7fc (diff) |
development/bless: Added (GUI hex editor).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/bless/patches/fixxmltextwriter.patch')
-rw-r--r-- | development/bless/patches/fixxmltextwriter.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/development/bless/patches/fixxmltextwriter.patch b/development/bless/patches/fixxmltextwriter.patch new file mode 100644 index 0000000000000..2b241d5525325 --- /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 |