diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2012-11-14 12:19:47 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2012-11-14 12:19:47 -0300 |
commit | f5280e8e55e8b27c68c320fde0600696d89b5494 (patch) | |
tree | adf2ba75662d9020c844451ec1de2394c73d02d9 | |
parent | a95028f42b8ef27d548b5321f8c0eb898131d4a2 (diff) | |
parent | 6007e29a71c6465430db23ee7c3d33fdb82aae95 (diff) |
merge
-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) { |