diff options
Diffstat (limited to 'dw/textblock_iterator.cc')
-rw-r--r-- | dw/textblock_iterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_iterator.cc b/dw/textblock_iterator.cc index c26b7f6e..56ad6e15 100644 --- a/dw/textblock_iterator.cc +++ b/dw/textblock_iterator.cc @@ -289,7 +289,7 @@ void Textblock::TextblockIterator::getAllocation (int start, int end, Word *word = textblock->words->getRef (index); allocation->x = - textblock->allocation.x + line->offsetCompleteWidget; + textblock->allocation.x + line->textOffset; for (int i = line->firstWord; i < index; i++) { Word *w = textblock->words->getRef(i); |