diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-01-24 22:18:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-01-24 22:18:59 (GMT) |
commit | b3ff521abec20509a917158bee82fff6d0931447 (patch) | |
tree | 2ceed71b80fa23429f6aeb4a62fe9ca3ea9499d1 /src/dot.cpp | |
parent | df4e1edf1f6abb55a811e7c4a34764f27b50e502 (diff) | |
download | Doxygen-b3ff521abec20509a917158bee82fff6d0931447.zip Doxygen-b3ff521abec20509a917158bee82fff6d0931447.tar.gz Doxygen-b3ff521abec20509a917158bee82fff6d0931447.tar.bz2 |
Release-1.6.2-20100124
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 7 |
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()) { |