From 340bc65a8bfea8c5edf35969598c8a40f0b24ed6 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 26 Jun 2019 19:33:14 +0200 Subject: 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). --- src/msc.cpp | 4 ++-- 1 file 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) { -- cgit v0.12