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:
parent
68b2e056e7
commit
5d35a31f2e
7 changed files with 155 additions and 155 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue