aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-11-20 14:54:14 +0100
committerSebastian Geerken <devnull@localhost>2014-11-20 14:54:14 +0100
commit1dad546d6e3b964a8d8e03a4349007ea4efcaa55 (patch)
tree86bc05cdb05a7d6fb2396cbb46ef1923e17781c2 /dw/textblock_linebreaking.cc
parente852decfc41eacfb903dfe1af20fe4bdaba67658 (diff)
Fixed bug related to aligning justified lines.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
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) {