]> git.cameronkatri.com Git - mandoc.git/blobdiff - out.c
Do not handle vertical lines as additional tbl(7) columns,
[mandoc.git] / out.c
diff --git a/out.c b/out.c
index 8dbd68ac11ad7c4d3c14dd72befaf7ab73e353bb..6f41f3bccaab576973883b2790d340744678f833 100644 (file)
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/*     $Id: out.c,v 1.43 2011/09/20 23:05:49 schwarze Exp $ */
+/*     $Id: out.c,v 1.44 2012/05/27 17:54:54 schwarze Exp $ */
 /*
  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -178,25 +178,6 @@ tblcalc(struct rofftbl *tbl, const struct tbl_span *sp)
                        tblcalc_data(tbl, col, sp->tbl, dp);
                }
        }
-
-       /* 
-        * Calculate width of the spanners.  These get one space for a
-        * vertical line, two for a double-vertical line. 
-        */
-
-       for ( ; hp; hp = hp->next) {
-               col = &tbl->cols[hp->ident];
-               switch (hp->pos) {
-               case (TBL_HEAD_VERT):
-                       col->width = (*tbl->len)(1, tbl->arg);
-                       break;
-               case (TBL_HEAD_DVERT):
-                       col->width = (*tbl->len)(2, tbl->arg);
-                       break;
-               default:
-                       break;
-               }
-       }
 }
 
 static void