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

Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.

This commit is contained in:
Julian Storer 2010-01-13 18:58:40 +00:00
parent c368805559
commit 97035bb3a1
69 changed files with 218 additions and 369 deletions

View file

@ -715,10 +715,7 @@ void XmlElement::setAttribute (const tchar* const attributeName,
void XmlElement::setAttribute (const tchar* const attributeName,
const double number) throw()
{
tchar buffer [40];
CharacterFunctions::printf (buffer, numElementsInArray (buffer), T("%.9g"), number);
setAttribute (attributeName, buffer);
setAttribute (attributeName, String (number));
}
void XmlElement::removeAttribute (const tchar* const attributeName) throw()