aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/table.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/table.cc b/dw/table.cc
index edd83f88..f8efa9da 100644
--- a/dw/table.cc
+++ b/dw/table.cc
@@ -1098,9 +1098,9 @@ void Table::apportion2 (int totalWidth, int firstCol, int lastCol,
// The actual calculation is rather simple, the ith value is:
//
//
- // (max[i] - min[i]) * (totalMax - totalMin)
- // width[i] = totalMin + -----------------------------------------
- // (totalWidth - totalMin)
+ // (max[i] - min[i]) * (totalMax - totalMin)
+ // width[i] = min[i] + -----------------------------------------
+ // (totalWidth - totalMin)
//
// (Regard "total" as "sum".) With the following general
// definitions (for both the list and sums):