diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-21 13:47:40 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-21 13:47:40 +0000 |
commit | bac2dbf73afb202176103819dd7a518e98226466 (patch) | |
tree | 0b4ff8e33f0b7bec2fef4eaee753f48ff8e30f99 | |
parent | 66128bd2b82f1fc879b3184cfcc13dbad7f6acbe (diff) | |
download | mandoc-bac2dbf73afb202176103819dd7a518e98226466.tar.gz mandoc-bac2dbf73afb202176103819dd7a518e98226466.tar.zst mandoc-bac2dbf73afb202176103819dd7a518e98226466.zip |
Fix in outopts processing.
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.46 2009/09/21 13:44:56 kristaps Exp $ */ +/* $Id: html.c,v 1.47 2009/09/21 13:47:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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; |