mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Add XML declaration to keyboard shortcuts XML file
This commit is contained in:
parent
26e4678d2d
commit
718888df91
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user