aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit9b509b028c7418fa035a3af3c5f783a61f4abf33 (patch)
treec5ae92857c359331576fd2ae728ebc21b2b7c455 /out.c
parent026fcc9f0bcdb3ef7c2a64feae925b2fcd9c6d16 (diff)
downloadmandoc-9b509b028c7418fa035a3af3c5f783a61f4abf33.tar.gz
mandoc-9b509b028c7418fa035a3af3c5f783a61f4abf33.tar.zst
mandoc-9b509b028c7418fa035a3af3c5f783a61f4abf33.zip
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/out.c b/out.c
index 155957ea..9a08f6ec 100644
--- a/out.c
+++ b/out.c
@@ -1,6 +1,6 @@
-/* $Id: out.c,v 1.35 2011/01/11 14:12:01 kristaps Exp $ */
+/* $Id: out.c,v 1.36 2011/01/25 12:07:30 schwarze Exp $ */
/*
- * 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);