aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-27 18:25:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-27 18:25:02 +0000
commitcd0313514de5f02c468c13b8125900bef22346b3 (patch)
treedce07518bf91752b0796030d73400941f20a574a /out.h
parentce3e6e6c76cc1cfca6d316eee86a713e5a145ba6 (diff)
downloadmandoc-cd0313514de5f02c468c13b8125900bef22346b3.tar.gz
mandoc-cd0313514de5f02c468c13b8125900bef22346b3.tar.zst
mandoc-cd0313514de5f02c468c13b8125900bef22346b3.zip
Implement spacing of columns as defined in the table layout;
this is for example used by lftp(1) and, ironically, misused by our very own tbl(7) manual...
Diffstat (limited to 'out.h')
-rw-r--r--out.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/out.h b/out.h
index 94040035..f6aceb9c 100644
--- a/out.h
+++ b/out.h
@@ -1,4 +1,4 @@
-/* $Id: out.h,v 1.30 2017/06/12 20:14:18 schwarze Exp $ */
+/* $Id: out.h,v 1.31 2017/06/27 18:25:02 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -33,6 +33,7 @@ enum roffscale {
struct roffcol {
size_t width; /* width of cell */
size_t decimal; /* decimal position in cell */
+ size_t spacing; /* spacing after the column */
int flags; /* layout flags, see tbl_cell */
};