diff options
author | corvid <corvid@lavabit.com> | 2011-06-03 17:53:46 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-06-03 17:53:46 +0000 |
commit | 6d62b16fa0c74b6f98bacb0a6d0e1c8a53d6fd08 (patch) | |
tree | 165e539a4246ca1b1cc8d5d25eab56293cbe4b46 /dw/fltkviewbase.cc | |
parent | 7471ce7e3f45e9681c08826fdec64cd6a58298f6 (diff) |
smallcaps use the proper enum value
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 cab22cf4..06e0cbc8 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -530,7 +530,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); |