From 9c26ea7f72463a5220c50ccc6f1a0eced1b3cad4 Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 3 Oct 2008 15:10:15 +0000 Subject: [PATCH] --- src/juce_appframework/application/juce_PropertiesFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/juce_appframework/application/juce_PropertiesFile.cpp b/src/juce_appframework/application/juce_PropertiesFile.cpp index 73b5087e23..d17e3bb035 100644 --- a/src/juce_appframework/application/juce_PropertiesFile.cpp +++ b/src/juce_appframework/application/juce_PropertiesFile.cpp @@ -118,7 +118,7 @@ PropertiesFile::PropertiesFile (const File& f, if (name.isNotEmpty()) { - getAllProperties().set (name, + getAllProperties().set (name, e->getFirstChildElement() != 0 ? e->getFirstChildElement()->createDocument (String::empty, true) : e->getStringAttribute (T("val")));