summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-04 23:44:21 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-04 23:44:21 +0000
commitb9c023c41f0280489fedd205e29e839c49303e48 (patch)
tree0a2f5553f8d3f43ac5db869ba4cffc2efa43fea6
parentef8edffe9d292eb00c2ab3e2c9d768e2fd79b06e (diff)
Bring back my fix from -r 1.3 (Oct 15, 2010) after the merge.
Original commit message: For now, parse and ignore minimal column width specifications. First step to get terminfo(5) to build.
-rw-r--r--usr.bin/mandoc/tbl_layout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/tbl_layout.c b/usr.bin/mandoc/tbl_layout.c
index 6b27e4873b0..b623af4bdd0 100644
--- a/usr.bin/mandoc/tbl_layout.c
+++ b/usr.bin/mandoc/tbl_layout.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_layout.c,v 1.4 2011/01/04 22:28:17 schwarze Exp $ */
+/* $Id: tbl_layout.c,v 1.5 2011/01/04 23:44:20 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -126,6 +126,8 @@ mod:
case ('d'):
cp->flags |= TBL_CELL_BALIGN;
goto mod;
+ case ('w'): /* XXX for now, ignore minimal column width */
+ goto mod;
case ('f'):
break;
case ('b'):