diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-02-16 21:11:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-02-16 21:11:17 (GMT) |
commit | e2eb1d33d197604c048fb035fd1b6ecbd6a7494a (patch) | |
tree | 524eebded0dbf9efbc5b02ab15856f10f914ff99 /src/mangen.cpp | |
parent | f22ba481afa686d1a834e056963f8d41621aba88 (diff) | |
download | Doxygen-e2eb1d33d197604c048fb035fd1b6ecbd6a7494a.zip Doxygen-e2eb1d33d197604c048fb035fd1b6ecbd6a7494a.tar.gz Doxygen-e2eb1d33d197604c048fb035fd1b6ecbd6a7494a.tar.bz2 |
Release-1.6.2-20100216
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r-- | src/mangen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp index 816f8a6..f0e904a 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -100,6 +100,7 @@ void ManGenerator::init() static QCString buildFileName(const char *name) { QCString fileName; + if (name==0) return "noname"; const char *p=name; char c; @@ -407,7 +408,7 @@ void ManGenerator::startDoxyAnchor(const char *,const char *manName, // the name of the link file is derived from the name of the anchor: // - truncate after an (optional) :: QCString baseName = name; - int i=baseName.findRev(':'); + int i=baseName.findRev("::"); if (i!=-1) baseName=baseName.right(baseName.length()-i-1); // - remove dangerous characters and append suffix, then add dir prefix |