summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/man2html/yelp-man2html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/man2html/yelp-man2html.c b/src/man2html/yelp-man2html.c
index 1e2b6162..4a86d84a 100644
--- a/src/man2html/yelp-man2html.c
+++ b/src/man2html/yelp-man2html.c
@@ -3793,7 +3793,7 @@ main(int argc, char **argv)
/* Try searching for this as a man page name, instead */
ctmp = strrchr(infile, '.');
- if(ctmp && (isdigit((unsigned char)*(ctmp+1)) || (*(ctmp+1) == 'n')) && *(ctmp+2) == '\0')
+ if(ctmp && (isdigit((unsigned char)*(ctmp+1)) || *(ctmp+1) == 'n'))
{
char section = *(ctmp+1);