diff options
author | Sebastian Geerken <devnull@localhost> | 2014-11-20 14:54:14 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-11-20 14:54:14 +0100 |
commit | 1dad546d6e3b964a8d8e03a4349007ea4efcaa55 (patch) | |
tree | 86bc05cdb05a7d6fb2396cbb46ef1923e17781c2 /dw/textblock_linebreaking.cc | |
parent | e852decfc41eacfb903dfe1af20fe4bdaba67658 (diff) |
Fixed bug related to aligning justified lines.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index 62433753..38d325bc 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -1706,7 +1706,7 @@ void Textblock::alignLine (int lineIndex) this->lineBreakWidth - (line->leftOffset + line->rightOffset); for (int i = line->firstWord; i < line->lastWord; i++) - words->getRef(i)->origSpace = words->getRef(i)->effSpace; + words->getRef(i)->effSpace = words->getRef(i)->origSpace; if (firstWord->content.type != core::Content::BREAK) { switch (firstWord->style->textAlign) { |