aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/demandoc.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-03-03 11:01:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-03-03 11:01:15 +0000
commitfcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76 (patch)
tree989d139c8ec02b2528cab9d5645f2f1c294c225d /demandoc.c
parentc3ae28ecece496b8f21d2fcf6abbf1f7ae9076f8 (diff)
downloadmandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.tar.gz
mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.tar.zst
mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.zip
add forgotten mparse options to two rarely used programs
Diffstat (limited to 'demandoc.c')
-rw-r--r--demandoc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/demandoc.c b/demandoc.c
index e6af906c..57d0cc5f 100644
--- a/demandoc.c
+++ b/demandoc.c
@@ -1,4 +1,4 @@
-/* $Id: demandoc.c,v 1.32 2018/12/30 00:49:54 schwarze Exp $ */
+/* $Id: demandoc.c,v 1.33 2019/03/03 11:01:15 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -79,7 +79,8 @@ main(int argc, char *argv[])
argv += optind;
mchars_alloc();
- mp = mparse_alloc(MPARSE_SO | MPARSE_VALIDATE, MANDOC_OS_OTHER, NULL);
+ mp = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1 |
+ MPARSE_VALIDATE, MANDOC_OS_OTHER, NULL);
assert(mp);
if (argc < 1)