diff options
-rw-r--r-- | dw/outofflowmgr.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc index f504e216..cea98974 100644 --- a/dw/outofflowmgr.cc +++ b/dw/outofflowmgr.cc @@ -2032,14 +2032,14 @@ int OutOfFlowMgr::getClearPosition (Textblock *tb, Side side) void OutOfFlowMgr::ensureFloatSize (Float *vloat) { if (vloat->dirty || - vloat->cbAvailWidth != containingBlock->getAvailWidth () && - (// If the size of the containing block has changed (represented - // currently by the available width), a recalculation of a relative - // float width may also be necessary. - isPerLength (vloat->getWidget()->getStyle()->width) || - // Similar for "auto" widths of textblocks etc. - (vloat->getWidget()->usesHints () && - vloat->getWidget()->getStyle()->width == LENGTH_AUTO))) { + (vloat->cbAvailWidth != containingBlock->getAvailWidth () && + (// If the size of the containing block has changed (represented + // currently by the available width), a recalculation of a relative + // float width may also be necessary. + isPerLength (vloat->getWidget()->getStyle()->width) || + // Similar for "auto" widths of textblocks etc. + (vloat->getWidget()->usesHints () && + vloat->getWidget()->getStyle()->width == LENGTH_AUTO)))) { DBG_OBJ_MSGF ("resize.oofm", 0, "<b>ensureFloatSize</b> (%p): recalculation", vloat->getWidget ()); |