1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-03 03:30:06 +00:00

Increased the precision used by XmlElement when storing strings.

This commit is contained in:
jules 2013-09-06 18:46:10 +01:00
parent c429b2aa24
commit 7afa650942

View file

@ -528,7 +528,7 @@ void XmlElement::setAttribute (const String& attributeName, const int number)
void XmlElement::setAttribute (const String& attributeName, const double number)
{
setAttribute (attributeName, String (number));
setAttribute (attributeName, String (number, 20));
}
void XmlElement::removeAttribute (const String& attributeName) noexcept