summaryrefslogtreecommitdiffstats
path: root/src/mangen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-06-04 14:15:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-06-04 14:15:23 (GMT)
commite90eb41e09adeb8970ef9a64fb8f163f068d7b17 (patch)
tree431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/mangen.cpp
parentcd76bda7e377a14bd6b3d321425cf462a46a3f75 (diff)
downloadDoxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.zip
Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.gz
Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.bz2
Release-1.2.8
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r--src/mangen.cpp21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp
index bdf3795..ad3e63a 100644
--- a/src/mangen.cpp
+++ b/src/mangen.cpp
@@ -372,30 +372,17 @@ void ManGenerator::startMemberDoc(const char *,const char *,const char *,const c
paragraph=FALSE;
}
-void ManGenerator::startDoxyAnchor(const char *fname,const char *,
- const char *name)
+void ManGenerator::startDoxyAnchor(const char *,const char *manName,
+ const char *, const char *)
{
- const char *basename;
-
// something to be done?
if( !Config_getBool("MAN_LINKS") )
{
return; // no
}
- // truncate after an (optional) ::
- basename = strrchr( name, ':' );
- if ( !basename )
- {
- basename = name;
- }
- else
- {
- basename++;
- }
-
// only create file when it doesn't exist
- QCString fileName=dir+"/"+buildFileName( basename );
+ QCString fileName=dir+"/"+buildFileName( manName );
QFile linkfile( fileName );
if ( !linkfile.open( IO_ReadOnly ) )
{
@@ -406,7 +393,7 @@ void ManGenerator::startDoxyAnchor(const char *fname,const char *,
#if QT_VERSION >= 200
linkstream.setEncoding(QTextStream::Latin1);
#endif
- linkstream << ".so man" << getExtension() << "/" << buildFileName( fname ) << endl;
+ linkstream << ".so man" << getExtension() << "/" << buildFileName( manName ) << endl;
}
}
linkfile.close();