summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:47:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:47:40 +0000
commit84d661915150fb271e81f789e1ba20d8809e4be9 (patch)
tree88dfc432c6ee89449dc6e69d331b4004c77b8ada
parentaa4258e259a6d13ee38d6b17b19399da51506f43 (diff)
downloadmandoc-84d661915150fb271e81f789e1ba20d8809e4be9.tar.gz
Fix in outopts processing.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 03f6a35b..003a0db0 100644
--- a/html.c
+++ b/html.c
@@ -424,7 +424,7 @@ html_alloc(char *outopts)
return(NULL);
}
- while (*outopts)
+ while (outopts && *outopts)
switch (getsubopt(&outopts, toks, &v)) {
case (0):
h->style = v;