summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-24 14:24:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-24 14:24:55 +0000
commit3238820d08da942be84ccab704e810b0f6d8bcf4 (patch)
tree95aa8bf9dc7c3dfb08fb8b46d811fabd58008b44 /mdocml.c
parenta73f55c2be0ca8e1deeeb05389879a52e46f05d2 (diff)
downloadmandoc-3238820d08da942be84ccab704e810b0f6d8bcf4.tar.gz
Split roff engine into roff.c.
Re-worked calling convention for md_*.
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdocml.c b/mdocml.c
index 1ba70fb8..d83bb4cd 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -55,6 +55,8 @@ main(int argc, char *argv[])
extern int optind;
out = in = NULL;
+
+ (void)memset(&args, 0, sizeof(struct md_args));
while (-1 != (c = getopt(argc, argv, "vo:")))
switch (c) {
@@ -75,7 +77,7 @@ main(int argc, char *argv[])
if (1 == argc)
in = *argv++;
- args.type = MD_HTML4_STRICT;
+ args.type = MD_DUMMY;
return(begin_io(&args, out ? out : "-", in ? in : "-"));
}