summaryrefslogtreecommitdiffstats
path: root/src/mangen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-04 14:15:23 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-04 14:15:23 (GMT)
commit88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch)
tree431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/mangen.cpp
parent9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff)
downloadDoxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.zip
Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.gz
Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.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();