[aseprite] 137/308: Add XML declaration to keyboard shortcuts XML file
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 718888df9113e2a1eae1ed82d2c65f9ed3623db8
Author: David Capello <davidcapello at gmail.com>
Date: Tue Dec 22 10:24:25 2015 -0300
Add XML declaration to keyboard shortcuts XML file
---
src/app/ui/keyboard_shortcuts.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/app/ui/keyboard_shortcuts.cpp b/src/app/ui/keyboard_shortcuts.cpp
index c832910..b8412c7 100644
--- a/src/app/ui/keyboard_shortcuts.cpp
+++ b/src/app/ui/keyboard_shortcuts.cpp
@@ -484,6 +484,9 @@ void KeyboardShortcuts::exportFile(const std::string& filename)
keyboard.InsertEndChild(tools);
keyboard.InsertEndChild(quicktools);
keyboard.InsertEndChild(actions);
+
+ TiXmlDeclaration declaration("1.0", "utf-8", "");
+ doc->InsertEndChild(declaration);
doc->InsertEndChild(keyboard);
save_xml(doc, filename);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list