From dcf4c8941f3d0d287f0068ef64949890edeefa95 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sat, 11 May 2013 23:07:31 +0200 Subject: Corrected print --- src/object/robotmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-1-g7c22