summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-01-24 22:18:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-01-24 22:18:59 (GMT)
commit3eb607c72338237e65fc44562b153db7ce4e0ac9 (patch)
tree2ceed71b80fa23429f6aeb4a62fe9ca3ea9499d1 /src/dot.cpp
parent05b70e8e2c6e0cda9b74fc99fd782d1977d298c9 (diff)
downloadDoxygen-3eb607c72338237e65fc44562b153db7ce4e0ac9.zip
Doxygen-3eb607c72338237e65fc44562b153db7ce4e0ac9.tar.gz
Doxygen-3eb607c72338237e65fc44562b153db7ce4e0ac9.tar.bz2
Release-1.6.2-20100124
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index fad0760..8c8cd90 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -3,7 +3,7 @@
*
*
*
- * Copyright (C) 1997-2008 by Dimitri van Heesch.
+ * Copyright (C) 1997-2010 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -2821,7 +2821,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
{
err("Error: Output dir %s does not exist!\n",outDir); exit(1);
}
- setDotFontPath(0);
+ setDotFontPath("");
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
QCString imgName = (QCString)outFile+"."+imgExt;
@@ -2875,9 +2875,10 @@ QString getDotImageMapFromFile(const QString& inFile, const QString& outDir,
}
setDotFontPath(d.absPath());
+ QCString absInFile = QCString(d.absPath())+"/"+inFile.data();
QCString absOutFile = QCString(d.absPath())+"/"+outFile.data();
- DotRunner dotRun(inFile);
+ DotRunner dotRun(absInFile);
dotRun.addJob(MAP_CMD,absOutFile);
if (!dotRun.run())
{