Commit eb1d5e89 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #114 from albert-github/feature/bug_vhdl_dot

Place where dot executable is found
parents cc78b12b 90ecc248
...@@ -167,7 +167,8 @@ static void createSVG() ...@@ -167,7 +167,8 @@ static void createSVG()
QRegExp ep("[\\s]"); QRegExp ep("[\\s]");
QCString vlargs="-Tsvg \""+ov+"\" "+dir ; 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"); err("could not create dot file");
} }
...@@ -3884,8 +3885,9 @@ void FlowChart::createSVG() ...@@ -3884,8 +3885,9 @@ void FlowChart::createSVG()
ov+="/flow_design.dot"; ov+="/flow_design.dot";
QCString vlargs="-Tsvg "+ov+dir ; 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"); err("could not create dot file");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment