diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-15 00:00:08 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-15 00:00:08 +0200 |
commit | 021d425fea3bdc727328ccbe24f508453a4ada36 (patch) | |
tree | 8a3e9c11bfb4672c79e9ef797daccca6ca4102fd /dw/textblock_iterator.cc | |
parent | 6c5f32b8ec8f9a01ca0ab6107779bfa2eda5299b (diff) | |
parent | 3143688e32d73fa788fd2d37e395753bae578e7d (diff) |
Merge with main repo.
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 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; |