summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-25 12:07:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-25 12:07:30 +0000
commit85cfe8e76ee75394eb9ad586bebf1ba8904c4f9b (patch)
tree27d8d33a76366732b5a04d7d4f245825ccd9c5f5 /out.c
parent3349c72d72c8acc21ae7930af2eb590dbe4617a0 (diff)
downloadmandoc-85cfe8e76ee75394eb9ad586bebf1ba8904c4f9b.tar.gz
correct horizontal spacing of data cells
correct alignment of centered cells adjust horizontal rule width to the new spacing ok kristaps@
Diffstat (limited to 'out.c')
-rw-r--r--out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/out.c b/out.c
index ad16015e..d76a9702 100644
--- a/out.c
+++ b/out.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
+ * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -485,7 +485,7 @@ tblcalc_literal(struct rofftbl *tbl, struct roffcol *col,
case (TBL_CELL_LONG):
/* FALLTHROUGH */
case (TBL_CELL_CENTRE):
- bufsz = (*tbl->len)(2, tbl->arg);
+ bufsz = (*tbl->len)(1, tbl->arg);
break;
default:
bufsz = (*tbl->len)(1, tbl->arg);