mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-18 14:14:53 -04:00
--User changes
-Add Ctrl+g shortcut for generating a sequence. --Bug fixes -Fix indendation for variations because of type icon. -Fix bug when duplicating flame where the new flame wasn't being properly selected. -Fix bug where clearing a flame was changing size and quality when it shouldn't have. -Fix bug where reading an Xml palette was failing on linux. --Code changes -No longer pad string with null terminator in ReadFile() because std::string already does it.
This commit is contained in:
@ -208,6 +208,7 @@ bool PaletteList<T>::Add(const string& filename, bool force)
|
||||
|
||||
if (EndsWith(lower, ".xml"))
|
||||
{
|
||||
//Subtract 1 to make reading with nullterminate set to true work on linux.
|
||||
const auto doc = xmlReadMemory(static_cast<const char*>(buf.data()), static_cast<int>(buf.size()), filename.c_str(), nullptr, XML_PARSE_NONET);
|
||||
|
||||
if (doc)
|
||||
|
Reference in New Issue
Block a user