summaryrefslogtreecommitdiff
path: root/dw/textblock_iterator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock_iterator.cc')
-rw-r--r--dw/textblock_iterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_iterator.cc b/dw/textblock_iterator.cc
index 4831bff5..cfb235ac 100644
--- a/dw/textblock_iterator.cc
+++ b/dw/textblock_iterator.cc
@@ -269,7 +269,7 @@ void Textblock::TextblockIterator::getAllocation (int start, int end,
Word *word = textblock->words->getRef (index);
allocation->x =
- textblock->allocation.x + textblock->lineXOffsetWidget (line);
+ textblock->allocation.x + line->offsetCompleteWidget;
for (int i = line->firstWord; i < index; i++) {
Word *w = textblock->words->getRef(i);