diff options
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index dfe3d17c..045126d9 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1107,7 +1107,7 @@ void Textblock::drawLine (Line *line, core::View *view, core::Rectangle *area) Word *word = words->getRef(wordIndex); int wordSize = word->size.width; - if (xWidget + word->size.width + word->effSpace >= area->x) { + if (xWidget + wordSize + word->hyphenWidth + word->effSpace >= area->x) { if (word->content.type == core::Content::TEXT || word->content.type == core::Content::WIDGET) { |