diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-04-18 13:59:11 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-04-18 13:59:11 (GMT) |
commit | adff8506a1c654db63ef362bbc90cddf7c156dd7 (patch) | |
tree | 5a45c08fe6f9334d87e18a8b8271d2c8cbb71e93 /src/mangen.cpp | |
parent | eb1cb68e11a3b24222a49ed254f8f7aea2f73bae (diff) | |
download | Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.zip Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.tar.gz Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.tar.bz2 |
Release-1.6.3-20100418
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r-- | src/mangen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp index 12c4e2d..67c389b 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -409,7 +409,10 @@ void ManGenerator::startDoxyAnchor(const char *,const char *manName, // - truncate after an (optional) :: QCString baseName = name; int i=baseName.findRev("::"); - if (i!=-1) baseName=baseName.right(baseName.length()-i-1); + if (i!=-1) baseName=baseName.right(baseName.length()-i-2); + + //printf("Converting man link '%s'->'%s'->'%s'\n", + // name,baseName.data(),buildFileName(baseName).data()); // - remove dangerous characters and append suffix, then add dir prefix QCString fileName=dir+"/"+buildFileName( baseName ); |