diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-25 13:00:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-25 13:00:13 +0000 |
commit | ddcec5f589a07e87775bdae5e80b8d708d904a6a (patch) | |
tree | 95201d41a71fda089a33fc4800b9b60bd81de291 /mdoc_html.c | |
parent | eff101cc3392a94562dbdee2983067415b7c867a (diff) | |
download | mandoc-ddcec5f589a07e87775bdae5e80b8d708d904a6a.tar.gz mandoc-ddcec5f589a07e87775bdae5e80b8d708d904a6a.tar.zst mandoc-ddcec5f589a07e87775bdae5e80b8d708d904a6a.zip |
Lint check (noop).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index e7183b57..feb04db4 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.11 2009/09/25 12:43:05 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.12 2009/09/25 13:00:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -1597,7 +1597,7 @@ mdoc_fn_pre(MDOC_ARGS) assert(n->child->string); sp = n->child->string; - while ((ep = strchr(sp, ' '))) { + while (NULL != (ep = strchr(sp, ' '))) { sz = MIN((int)(ep - sp), BUFSIZ - 1); (void)memcpy(nbuf, sp, (size_t)sz); nbuf[sz] = '\0'; |