summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2012-11-14 12:19:47 -0300
committerJorge Arellano Cid <jcid@dillo.org>2012-11-14 12:19:47 -0300
commitf5280e8e55e8b27c68c320fde0600696d89b5494 (patch)
treeadf2ba75662d9020c844451ec1de2394c73d02d9
parenta95028f42b8ef27d548b5321f8c0eb898131d4a2 (diff)
parent6007e29a71c6465430db23ee7c3d33fdb82aae95 (diff)
merge
-rw-r--r--dw/textblock.cc2
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) {