diff options
author | Sebastian Geerken <devnull@localhost> | 2014-07-11 22:38:16 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-07-11 22:38:16 +0200 |
commit | 04664dd9ec42a8d609852e7e4231d43f2ef87f9b (patch) | |
tree | 01cf84686d61023aa9d2f92151869000194a38b6 | |
parent | 5e599cf5da3484d6386baf2dca1e27fd3b0304f1 (diff) |
Fixed table bug (colspan apportion).
-rw-r--r-- | dw/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/table.cc b/dw/table.cc index 11768b72..edd83f88 100644 --- a/dw/table.cc +++ b/dw/table.cc @@ -1175,7 +1175,7 @@ void Table::apportion2 (int totalWidth, int firstCol, int lastCol, dest->set (destOffset - firstCol + col, width); } - } else if (totalMin != 0) { + } else { // if (totalMin == 0) // Last special case. Ssame algorithm, with // // x[i] = 1 (so cumX = i = col - firstCol + 1) |