diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2003-05-03 21:11:47 +0000 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2003-05-03 21:11:47 +0000 |
commit | fdb0675b7d581d276e267e6ea3d8d5c0b5b6472b (patch) | |
tree | d0b764028f055f88125c0bcf43e6908f398b9795 | |
parent | 7372b2c6eeed455359bef969e44323782d9ab62d (diff) | |
download | yelp-fdb0675b7d581d276e267e6ea3d8d5c0b5b6472b.tar.gz |
Fix for manual pages that have non numerical filetypes like open.3pm.LIBGNOME_2_2_2LIBGNOME_2_2_1
2003-05-03 Kjartan Maraas <kmaraas@gnome.org>
* 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.
-rw-r--r-- | src/man2html/yelp-man2html.c | 2 |
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); |