From ddcec5f589a07e87775bdae5e80b8d708d904a6a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 25 Sep 2009 13:00:13 +0000 Subject: Lint check (noop). --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') 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 * @@ -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'; -- cgit v1.2.3