diff options
author | corvid <corvid@lavabit.com> | 2011-06-12 15:49:32 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-06-12 15:49:32 +0000 |
commit | aa1785ccf469b84eec7ab9961c04d9e0a54d2ad2 (patch) | |
tree | 161a6e56555026b731fec926d1e6844954f44f1e /dw/fltkviewbase.cc | |
parent | c5be2477a8078aa2c34c5b121320a062efe9a250 (diff) | |
parent | 988480437fbc89955ef4f08c283ce1f193972420 (diff) |
merge in recent changes from main repo
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); |