diff options
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 |