summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandoc.h1
-rw-r--r--tbl_opts.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/mandoc.h b/mandoc.h
index db225a39..8e0d7583 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -152,7 +152,6 @@ struct tbl {
char tab; /* cell-separator */
char decimal; /* decimal point */
int linesize;
- char delims[2]; /* FIXME: deprecate */
int opts;
#define TBL_OPT_CENTRE (1 << 0)
#define TBL_OPT_EXPAND (1 << 1)
diff --git a/tbl_opts.c b/tbl_opts.c
index 6d546c0c..1f750cb9 100644
--- a/tbl_opts.c
+++ b/tbl_opts.c
@@ -102,12 +102,12 @@ arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key)
switch (key) {
case (KEY_DELIM):
- if ('\0' == (tbl->opts.delims[0] = p[(*pos)++])) {
+ if ('\0' == p[(*pos)++]) {
TBL_MSG(tbl, MANDOCERR_TBL, ln, *pos - 1);
return(0);
}
- if ('\0' == (tbl->opts.delims[1] = p[(*pos)++])) {
+ if ('\0' == p[(*pos)++]) {
TBL_MSG(tbl, MANDOCERR_TBL, ln, *pos - 1);
return(0);
}