From fdb0675b7d581d276e267e6ea3d8d5c0b5b6472b Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Sat, 3 May 2003 21:11:47 +0000 Subject: Fix for manual pages that have non numerical filetypes like open.3pm. 2003-05-03 Kjartan Maraas * help-converters/man/gnome-man2html.c: Fix for manual pages that have non numerical filetypes like open.3pm. Fixes bug #101440. Patch from Roderich Schupp. --- src/man2html/yelp-man2html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1