diff options
-rw-r--r-- | mandoc.h | 1 | ||||
-rw-r--r-- | tbl_opts.c | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -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) @@ -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); } |