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 efc5c952..3fb43cb1 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -494,7 +494,7 @@ void FltkWidgetView::drawText (core::style::Font *font, int viewX = translateCanvasXToViewX (x), viewY = translateCanvasYToViewY (y); int curr = 0, next = 0, nb; - char chbuf[MB_CUR_MAX]; + char chbuf[4]; wchar_t wc, wcu; if (font->fontVariant == 1) { |