summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vhdldocgen.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index 1a37060..040a398 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -167,7 +167,8 @@ static void createSVG()
QRegExp ep("[\\s]");
QCString vlargs="-Tsvg \""+ov+"\" "+dir ;
- if (portable_system("dot",vlargs)!=0)
+ QCString dotExe = Config_getString("DOT_PATH")+"dot";
+ if (portable_system(dotExe,vlargs)!=0)
{
err("could not create dot file");
}
@@ -3884,8 +3885,9 @@ void FlowChart::createSVG()
ov+="/flow_design.dot";
QCString vlargs="-Tsvg "+ov+dir ;
+ QCString dotExe = Config_getString("DOT_PATH")+"dot";
- if (portable_system("dot",vlargs)!=0)
+ if (portable_system(dotExe,vlargs)!=0)
{
err("could not create dot file");
}