summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/man2html/yelp-man2html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/man2html/yelp-man2html.c b/src/man2html/yelp-man2html.c
index b0fc39d7..ed0e5212 100644
--- a/src/man2html/yelp-man2html.c
+++ b/src/man2html/yelp-man2html.c
@@ -2233,8 +2233,8 @@ static char
}
c++;
while (*c && strncmp(c,endwith,i))
- while (*c++!='\n');
- while (*c++!='\n');
+ while (*c && *c++!='\n');
+ while (*c && *c++!='\n');
break;
}
case V('n','f'):