summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-05-11 23:07:31 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-05-11 23:11:58 +0200
commitdcf4c8941f3d0d287f0068ef64949890edeefa95 (patch)
treeff846cbedd66fb4086a6c42fbe95f0df620907c8 /src
parentc842aa3a73e6511a0b274b60877e142c0f825623 (diff)
downloadcolobot-dcf4c8941f3d0d287f0068ef64949890edeefa95.tar.gz
colobot-dcf4c8941f3d0d287f0068ef64949890edeefa95.tar.bz2
colobot-dcf4c8941f3d0d287f0068ef64949890edeefa95.zip
Corrected print
Diffstat (limited to 'src')
-rw-r--r--src/object/robotmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp
index 3715424..981c1ed 100644
--- a/src/object/robotmain.cpp
+++ b/src/object/robotmain.cpp
@@ -4923,7 +4923,7 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
if (line[0] == '\n') continue; // Ignore empty lines
if (read[0] != 0) continue; // Ignore when loading saved game
- GetLogger()->Error("Syntax error in file '%s' (line %d): Unknown command: %s", filename, lineNum, line); // Don't add \n at the end of log message - it's included in line variable
+ GetLogger()->Error("Syntax error in file '%s' (line %d): Unknown command: %s\n", filename, lineNum, line); // Don't add \n at the end of log message - it's included in line variable
}
fclose(file);