diff options
author | corvid, Sebastian Geerken <devnull@localhost> | 2014-07-19 22:16:17 +0200 |
---|---|---|
committer | corvid, Sebastian Geerken <devnull@localhost> | 2014-07-19 22:16:17 +0200 |
commit | 3557cfec52950ac759d0e1b732ebc718553f2e9e (patch) | |
tree | 9a916c0b28703ddd846b6115b6ef6fa7a3cb0505 /dw/table.cc | |
parent | 5383c702e78df346a22cc55e89eade813af08078 (diff) |
Fixed comment.
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 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): |