aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_iterator.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-10-15 00:00:08 +0200
committerSebastian Geerken <devnull@localhost>2014-10-15 00:00:08 +0200
commit021d425fea3bdc727328ccbe24f508453a4ada36 (patch)
tree8a3e9c11bfb4672c79e9ef797daccca6ca4102fd /dw/textblock_iterator.cc
parent6c5f32b8ec8f9a01ca0ab6107779bfa2eda5299b (diff)
parent3143688e32d73fa788fd2d37e395753bae578e7d (diff)
Merge with main repo.
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 a0eb1bf4..8da692d6 100644
--- a/dw/textblock_iterator.cc
+++ b/dw/textblock_iterator.cc
@@ -208,7 +208,7 @@ void Textblock::TextblockIterator::getAllocation (int start, int end,
&& word->content.text[start]
== 0);
}
- allocation->y = textblock->lineYOffsetCanvas (line) + line->boxAscent -
+ allocation->y = textblock->lineYOffsetCanvas (line) + line->borderAscent -
word->size.ascent;
allocation->width = word->size.width;