Skip to content

Commit

Permalink
Fix for PlantUML configuration
Browse files Browse the repository at this point in the history
Only if PlantUML configuration file is configured, then it will be passed as an argument to plantuml.jar.
  • Loading branch information
Dennis Allerkamp committed Sep 24, 2016
1 parent e12ec76 commit 7015987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plantuml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
}
if (pumlIncludePathList.first()) pumlArgs += "\" ";
pumlArgs += "-Djava.awt.headless=true -jar \""+plantumlJarPath+"plantuml.jar\" ";
if (plantumlConfigFile != "")
if (!plantumlConfigFile.isEmpty())
{
pumlArgs += "-config \"";
pumlArgs += plantumlConfigFile;
Expand Down

0 comments on commit 7015987

Please sign in to comment.