diff options
Diffstat (limited to 'dw/table.cc')
-rw-r--r-- | dw/table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/table.cc b/dw/table.cc index 3a7a0a41..5aaebb4b 100644 --- a/dw/table.cc +++ b/dw/table.cc @@ -735,10 +735,10 @@ void Table::forceCalcCellSizes (bool calcHeights) getExtremes (&extremes); int availWidth = getAvailWidth (true); - // When adjust_table_min_width is set, use the minimal (intrinsic) - // width for correction. + // When adjust_table_min_width is set, use perhaps the adjustment + // width for correction. (TODO: Is this necessary?) int corrWidth = - Table::getAdjustTableMinWidth () ? extremes.minWidthIntrinsic : 0; + Table::getAdjustTableMinWidth () ? extremes.adjustmentWidth : 0; int totalWidth = misc::max (availWidth, corrWidth) - ((numCols + 1) * getStyle()->hBorderSpacing + boxDiffWidth ()); |