summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 90b8bc4..fa6a104 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1795,14 +1795,8 @@ void LatexGenerator::startDotFile(const char *name,bool hasCaption)
{
baseName=baseName.right(baseName.length()-i-1);
}
- QCString outName = Config_getString("LATEX_OUTPUT")+
-#ifdef _WIN32
- "\\"
-#else
- "/"
-#endif
- +baseName;
- writeDotGraphFromFile(name,outName,EPS);
+ QCString outDir = Config_getString("LATEX_OUTPUT");
+ writeDotGraphFromFile(name,outDir,baseName,EPS);
if (hasCaption)
{
t << "\\begin{figure}[H]" << endl;