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

Fixed a bug in Font::setUnderline().

This commit is contained in:
jules 2012-07-11 09:44:10 +01:00
parent 8a586adc8b
commit 502af083aa
2 changed files with 4 additions and 3 deletions

View file

@ -596,6 +596,7 @@ void Font::setItalic (const bool shouldBeItalic)
void Font::setUnderline (const bool shouldBeUnderlined)
{
dupeInternalIfShared();
font->underline = shouldBeUnderlined;
}