1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Minor clean-ups and documentation fixes.

This commit is contained in:
jules 2012-12-20 21:26:12 +00:00
parent 68b2e056e7
commit 5d35a31f2e
7 changed files with 155 additions and 155 deletions

View file

@ -521,8 +521,8 @@ namespace TextLayoutHelpers
if (attr.range.contains (i))
{
if (attr.getFont() != nullptr) newFontAndColour.font = attr.getFont();
if (attr.getColour() != nullptr) newFontAndColour.colour = *attr.getColour();
if (const Font* f = attr.getFont()) newFontAndColour.font = f;
if (const Colour* c = attr.getColour()) newFontAndColour.colour = *c;
}
}