summaryrefslogtreecommitdiff
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-04-08 21:14:49 +0000
committerrubidium <rubidium@openttd.org>2010-04-08 21:14:49 +0000
commitd8baa1342c4ddce823724b758c5b3e4547e84e90 (patch)
treea8877f3db63d8d7c5d9a7dbee7f4a0943e8ab785 /src/debug.cpp
parent9ad86b776fcb04242fda1203ca126bbb68ff2829 (diff)
downloadopenttd-d8baa1342c4ddce823724b758c5b3e4547e84e90.tar.xz
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 391730f5e..8ef91bed0 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -93,7 +93,7 @@ static void debug_print(const char *dbg, const char *buf)
static FILE *f = FioFOpenFile("commands-out.log", "wb", AUTOSAVE_DIR);
if (f == NULL) return;
- fprintf(f, "%s%s", GetLogPrefix(), buf);
+ fprintf(f, "%s%s\n", GetLogPrefix(), buf);
fflush(f);
}
}