1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Fix for typo in last commit.

This commit is contained in:
jules 2015-08-12 12:42:41 +01:00
parent 3a1441e77b
commit fcb87ee677

View file

@ -74,7 +74,10 @@ struct KeyFileUtils
ScopedPointer<XmlElement> xml;
if (key.isValid())
xml = XmlDocument::parse (val.toMemoryBlock().toString());
{
key.applyToValue (val);
xml = XmlDocument::parse (val.toMemoryBlock().toString());
}
return xml != nullptr ? *xml : XmlElement("key");
}