Blame doxygen-775245.patch

Than Ngo 440856
diff --git a/src/filedef.cpp b/src/filedef.cpp
Than Ngo 440856
index 3fa896a..2cfe37a 100644
Than Ngo 440856
--- a/src/filedef.cpp
Than Ngo 440856
+++ b/src/filedef.cpp
Than Ngo 440856
@@ -82,8 +82,8 @@ FileDef::FileDef(const char *p,const char *nm,
Than Ngo 440856
   m_path=p;
Than Ngo 440856
   m_filePath=m_path+nm;
Than Ngo 440856
   m_fileName=nm;
Than Ngo 440856
-  setDiskName(dn?dn:nm);
Than Ngo 440856
   setReference(lref);
Than Ngo 440856
+  setDiskName(dn?dn:nm);
Than Ngo 440856
   m_classSDict        = 0;
Than Ngo 440856
   m_includeList       = 0;
Than Ngo 440856
   m_includeDict       = 0; 
Than Ngo 440856
@@ -126,9 +126,18 @@ FileDef::~FileDef()
Than Ngo 440856
 
Than Ngo 440856
 void FileDef::setDiskName(const QCString &name)
Than Ngo 440856
 {
Than Ngo 440856
-  m_outputDiskName = convertNameToFile(name);
Than Ngo 440856
-  m_inclDepFileName = convertNameToFile(name+"_incl");
Than Ngo 440856
-  m_inclByDepFileName = convertNameToFile(name+"_dep_incl");
Than Ngo 440856
+  if (isReference())
Than Ngo 440856
+  {
Than Ngo 440856
+    m_outputDiskName = name;
Than Ngo 440856
+    m_inclDepFileName = name+"_incl";
Than Ngo 440856
+    m_inclByDepFileName = name+"_dep_incl";
Than Ngo 440856
+  }
Than Ngo 440856
+  else
Than Ngo 440856
+  {
Than Ngo 440856
+    m_outputDiskName = convertNameToFile(name);
Than Ngo 440856
+    m_inclDepFileName = convertNameToFile(name+"_incl");
Than Ngo 440856
+    m_inclByDepFileName = convertNameToFile(name+"_dep_incl");
Than Ngo 440856
+  }
Than Ngo 440856
 }
Than Ngo 440856
 
Than Ngo 440856
 /*! Compute the HTML anchor names for all members in the class */