summaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
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 fddfb44f..5e921961 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -2120,7 +2120,7 @@ void Textblock::calcBorders (int lastOofRef, int height)
newLineLeftBorder =
max (newLineLeftBorder,
oofm->getLeftBorder (y, height, this, effOofRef)
- - getGeneratorX (i));
+ - getC0RelX (i));
newLineLeftFloatHeight =
max (newLineLeftFloatHeight,
oofm->getLeftFloatHeight (y, height, this, effOofRef));