Browse Source

Increased the precision used by XmlElement when storing strings.

tags/2021-05-28
jules 11 years ago
parent
commit
7afa650942
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/xml/juce_XmlElement.cpp

+ 1
- 1
modules/juce_core/xml/juce_XmlElement.cpp View File

@@ -528,7 +528,7 @@ void XmlElement::setAttribute (const String& attributeName, const int number)
void XmlElement::setAttribute (const String& attributeName, const double 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 void XmlElement::removeAttribute (const String& attributeName) noexcept


Loading…
Cancel
Save