summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-10-10 19:22:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-10-10 19:22:31 (GMT)
commitc9ed38abcef60f4ecb9fc08a1ddd936762d5342c (patch)
tree30215767ee72661b15eae6b66e51b409feff64cf /src/dot.cpp
parentc1cf420f89fe57c162372b66bca70ff2e055f48f (diff)
downloadDoxygen-c9ed38abcef60f4ecb9fc08a1ddd936762d5342c.zip
Doxygen-c9ed38abcef60f4ecb9fc08a1ddd936762d5342c.tar.gz
Doxygen-c9ed38abcef60f4ecb9fc08a1ddd936762d5342c.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