summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logic/BaseProcess.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/BaseProcess.cpp b/logic/BaseProcess.cpp
index 749efe0a..f1dc89c7 100644
--- a/logic/BaseProcess.cpp
+++ b/logic/BaseProcess.cpp
@@ -254,7 +254,10 @@ void BaseProcess::finish(int code, ExitStatus status)
else
{
//: Message displayed on instance crashed
- emit log(tr("Game crashed with exitcode %1.").arg(code));
+ if(code == -1)
+ emit log(tr("Game crashed.").arg(code));
+ else
+ emit log(tr("Game crashed with exitcode %1.").arg(code));
}
}
else