summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;