diff options
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r-- | dw/fltkviewbase.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index 689868f6..22fb06ef 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -543,7 +543,7 @@ void FltkWidgetView::drawText (core::style::Font *font, char chbuf[4]; wchar_t wc, wcu; - if (font->fontVariant == 1) { + if (font->fontVariant == core::style::FONT_VARIANT_SMALL_CAPS) { int sc_fontsize = lout::misc::roundInt(ff->size * 0.78); for (curr = 0; next < len; curr = next) { next = theLayout->nextGlyph(text, curr); |