summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index b165408..cdacaaa 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -919,14 +919,8 @@ void HtmlGenerator::startDotFile(const char *name,bool hasCaption)
{
baseName=baseName.right(baseName.length()-i-1);
}
- QCString outName = Config_getString("HTML_OUTPUT")+
-#ifdef _WIN32
- "\\"
-#else
- "/"
-#endif
- +baseName;
- writeDotGraphFromFile(name,outName,BITMAP);
+ QCString outDir = Config_getString("HTML_OUTPUT");
+ writeDotGraphFromFile(name,outDir,baseName,BITMAP);
t << "<div align=\"center\">" << endl;
t << "<img src=\"" << baseName << "."
<< Config_getEnum("DOT_IMAGE_FORMAT") << "\" alt=\""