summaryrefslogtreecommitdiffstats
path: root/tbl_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_opts.c')
-rw-r--r--tbl_opts.c4
1 files changed, 2 insertions, 2 deletions
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);
}