diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
commit | 88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch) | |
tree | 431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/mangen.cpp | |
parent | 9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff) | |
download | Doxygen-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.cpp | 21 |
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(); |