diff options
author | corvid <corvid@lavabit.com> | 2009-09-08 20:19:45 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-09-08 20:19:45 +0000 |
commit | de4260fe961c260a6c378767cbe917601518fd96 (patch) | |
tree | 4eabeaea1f106ed95f7657b6a05356a65740eca7 | |
parent | 8e741e9b2524df1259c3e8cea9fdd9a7365aeedc (diff) |
fix for a9e4b97dbbac
-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 28d4390a..462c7455 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1253,7 +1253,7 @@ void Textblock::drawLine (Line *line, core::View *view, core::Rectangle *area) int xWorld = allocation.x + xWidget; Word *word = words->getRef(wordIndex); - if (xWidget + word->size.width < area->x) { + if (xWidget + word->size.width + word->effSpace < area->x) { xWidget += word->size.width + word->effSpace; continue; } else if (xWidget > area->x + area->width) { |