aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_layout.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-04 23:48:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-04 23:48:39 +0000
commit24ce759181f791e0c2c718add146c633ee311149 (patch)
treeef32102d9021bb5e7c419a6944a7eddce01f7fc1 /tbl_layout.c
parentb1bf4f5bc2a801ffc0e0289eceb250b0cb1ab22c (diff)
downloadmandoc-24ce759181f791e0c2c718add146c633ee311149.tar.gz
mandoc-24ce759181f791e0c2c718add146c633ee311149.tar.zst
mandoc-24ce759181f791e0c2c718add146c633ee311149.zip
Merge from OpenBSD (similar to my original fix committed on Oct 15, 2010):
For now, parse and ignore minimal column width specifications. First step to get terminfo(5) to build.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r--tbl_layout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tbl_layout.c b/tbl_layout.c
index be893b1b..1f18118a 100644
--- a/tbl_layout.c
+++ b/tbl_layout.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_layout.c,v 1.9 2011/01/03 13:59:21 kristaps Exp $ */
+/* $Id: tbl_layout.c,v 1.10 2011/01/04 23:48:39 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010 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'):