summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index eb72a00..647b5c8 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -1745,6 +1745,13 @@ static void buildNamespaceList(EntryNav *rootNav)
{
nd->setLanguage(root->lang);
}
+ if (rootNav->tagInfo()==0) // if we found the namespace in a tag file
+ // and also in a project file, then remove
+ // the tag file reference
+ {
+ nd->setReference("");
+ nd->setFileName(fullName);
+ }
// file definition containing the namespace nd
FileDef *fd=rootNav->fileDef();