aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-03-08 10:40:47 +0100
committerSebastian Geerken <devnull@localhost>2014-03-08 10:40:47 +0100
commitdfc6137def603f4689328b24d1f78d86143a7471 (patch)
tree424978f921748a49e6c6c43568dee64ff189affd /dw
parent7d864b04ac09c450730baf950daa1b2218dee56f (diff)
Correction of correction.
Diffstat (limited to 'dw')
-rw-r--r--dw/outofflowmgr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc
index 90972817..0a8af968 100644
--- a/dw/outofflowmgr.cc
+++ b/dw/outofflowmgr.cc
@@ -1500,7 +1500,7 @@ void OutOfFlowMgr::getFloatsExtremes (Side side, int *minWidth, int *maxWidth)
int rightDiff =
(containingBlockAllocation.x + containingBlockAllocation.width)
- (gba->x - gba->width)
- + vloat->generatingBlock->getStyle()->boxOffsetX();
+ + vloat->generatingBlock->getStyle()->boxRestWidth();
// TODO: Or zero (instead of rightDiff) for right floats?
*minWidth = max (*minWidth,