aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--diceparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index b3add42..6d043a1 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -933,7 +933,7 @@ void DiceParser::writeDownDotTree(QString filepath)
{
QString str("digraph ExecutionTree {\n");
m_start->generateDotTree(str);
- str.append("}");
+ str.append("}\n");
QFile file(filepath);
@@ -942,7 +942,7 @@ void DiceParser::writeDownDotTree(QString filepath)
QTextStream in(&file);
in << str;
}
- in << "\n";
+
}
void DiceParser::setPathToHelp(QString l)
{