diff options
author | Sebastian Geerken <devnull@localhost> | 2015-01-04 22:33:19 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-01-04 22:33:19 +0100 |
commit | 2b3d6db4a823f525bc7c9a8cfb4e1b063afa8322 (patch) | |
tree | 712f10ffb900867a385909c07942c20be4c0181f | |
parent | a19fefdba715219484434c9e772d13245b7d894d (diff) |
Fixed usage of Extremes::adjustmentWidth for Table.
-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 ()); |