summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-10-10 19:22:31 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-10-10 19:22:31 (GMT)
commitb7ae07dc2e3b4b635cc59a49d326a88d45f9206b (patch)
tree30215767ee72661b15eae6b66e51b409feff64cf /src/dot.cpp
parent22eb9881c15ad001246cfcde1c727a2f98f472df (diff)
downloadDoxygen-b7ae07dc2e3b4b635cc59a49d326a88d45f9206b.zip
Doxygen-b7ae07dc2e3b4b635cc59a49d326a88d45f9206b.tar.gz
Doxygen-b7ae07dc2e3b4b635cc59a49d326a88d45f9206b.tar.bz2
Release-1.4.5-20051010
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index a304788..3cc7e2f 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1958,7 +1958,7 @@ void DotInclDepGraph::buildGraph(DotNode *n,FileDef *fd,int distance)
if (bfd)
{
in = bfd->absFilePath();
- doc = bfd->isLinkable() && bfd->isHidden();
+ doc = bfd->isLinkable() && !bfd->isHidden();
src = bfd->generateSourceFile();
}
if (doc || src || !Config_getBool("HIDE_UNDOC_RELATIONS"))
@@ -1967,7 +1967,7 @@ void DotInclDepGraph::buildGraph(DotNode *n,FileDef *fd,int distance)
if (bfd) url=bfd->getOutputFileBase().copy();
if (!doc && src)
{
- url+="-source";
+ url=bfd->getSourceFileBase();
}
DotNode *bn = m_usedNodes->find(in);
if (bn) // file is already a node in the graph