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:
parent
3a1441e77b
commit
fcb87ee677
1 changed files with 4 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue