summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 4a96436c..9ad6a00a 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -401,9 +401,9 @@ args(struct mdoc *m, int line, int *pos,
* follows the pattern of [[::delim::][ ]+]+.
*/
- if ((fl & ARGS_DELIM) && mdoc_iscdelim(buf[*pos])) {
+ if ((fl & ARGS_DELIM) && mdoc_iscdelim(buf[*pos]) > 1) {
for (i = *pos; buf[i]; ) {
- if ( ! mdoc_iscdelim(buf[i]))
+ if ( mdoc_iscdelim(buf[i]) < 2)
break;
i++;
if (0 == buf[i] || ' ' != buf[i])