summaryrefslogtreecommitdiff
path: root/src/preproc
diff options
context:
space:
mode:
authorwl <wl>2008-11-07 07:43:55 +0000
committerwl <wl>2008-11-07 07:43:55 +0000
commitc05921efac605dad4b67e06c689e1633cc86e69f (patch)
tree0870ca846fafe2937a474e75fe78cdf66c6d2551 /src/preproc
parentadd125065218832ef78b7cca392a8432567e6a99 (diff)
downloadgroff-c05921efac605dad4b67e06c689e1633cc86e69f.tar.gz
* src/preproc/tbl/table.cpp (table::compute_widths): Use default
scaling operator for minimum width. Without this fix, `lw3' (or `lw(3)' would be handled as a column with a minimum width of 3u instead of 3n.
Diffstat (limited to 'src/preproc')
-rw-r--r--src/preproc/tbl/table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index 7631f127..099b4a5e 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -2170,7 +2170,7 @@ void table::compute_widths()
for (i = 0; i < ncolumns; i++) {
init_span_reg(i, i);
if (!minimum_width[i].empty())
- printfs(".nr %1 %2\n", span_width_reg(i, i), minimum_width[i]);
+ printfs(".nr %1 (n;%2)\n", span_width_reg(i, i), minimum_width[i]);
}
for (p = span_list; p; p = p->next)
init_span_reg(p->start_col, p->end_col);