summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-07 15:06:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-07 15:06:03 +0000
commit2a03767ec0441b939c585ee49c0656056041bf22 (patch)
tree0d68685bf6f68db7d6f4fb98e7f5f96bf4a157ef /mdoc_html.c
parent1e11aac342ce2784ea599de3b73ad42eedb9739b (diff)
downloadmandoc-2a03767ec0441b939c585ee49c0656056041bf22.tar.gz
Lint-ified.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 9f2d20b9..b480925f 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1624,7 +1624,8 @@ mdoc_fn_pre(MDOC_ARGS)
assert(n->child->string);
sp = n->child->string;
- if ((ep = strchr(sp, ' '))) {
+ ep = strchr(sp, ' ');
+ if (NULL != ep) {
PAIR_CLASS_INIT(&tag[0], "ftype");
t = print_otag(h, TAG_SPAN, 1, tag);