summaryrefslogtreecommitdiffstats
path: root/src/msc.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-06-26 17:33:14 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-06-26 17:33:14 (GMT)
commit340bc65a8bfea8c5edf35969598c8a40f0b24ed6 (patch)
tree4ed88cfc67efb784192874afeb23a464a006698a /src/msc.cpp
parent1fae484ad6abf53cfb3364df173db3522c3e0e29 (diff)
downloadDoxygen-340bc65a8bfea8c5edf35969598c8a40f0b24ed6.zip
Doxygen-340bc65a8bfea8c5edf35969598c8a40f0b24ed6.tar.gz
Doxygen-340bc65a8bfea8c5edf35969598c8a40f0b24ed6.tar.bz2
regression #6885 mscgen links placed in the wrong place when using SVG output
The output files were not placed in the output directories but in the "root" directory (the `.msc` files were correctly placed in the output directories).
Diffstat (limited to 'src/msc.cpp')
-rw-r--r--src/msc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msc.cpp b/src/msc.cpp
index ed049c6..0137e1b 100644
--- a/src/msc.cpp
+++ b/src/msc.cpp
@@ -99,7 +99,7 @@ void writeMscGraphFromFile(const char *inFile,const char *outDir,
absOutFile+=outFile;
mscgen_format_t msc_format;
- QCString imgName = outFile;
+ QCString imgName = absOutFile;
switch (format)
{
case MSC_BITMAP:
@@ -129,7 +129,7 @@ void writeMscGraphFromFile(const char *inFile,const char *outDir,
{
QCString epstopdfArgs(maxCmdLine);
epstopdfArgs.sprintf("\"%s.eps\" --outfile=\"%s.pdf\"",
- outFile,outFile);
+ absOutFile.data(),absOutFile.data());
portable_sysTimerStart();
if (portable_system("epstopdf",epstopdfArgs)!=0)
{