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:
parent
c368805559
commit
97035bb3a1
69 changed files with 218 additions and 369 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue