aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_iterator.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-15 12:47:49 +0200
committerSebastian Geerken <devnull@localhost>2014-06-15 12:47:49 +0200
commit87b58bcbe2170932565218c8688985708f522ee4 (patch)
tree250a83200db6e7786db102be3453d6b304a712cd /dw/textblock_iterator.cc
parentb259c9978a5101bf7044b532265c3b77108e6ff7 (diff)
Some reorganisation of Textblock, part 1.
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 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);