summaryrefslogtreecommitdiffstats
path: root/source/Log.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-12 08:42:18 +0200
committermadmaxoft <github@xoft.cz>2013-08-12 08:42:18 +0200
commit90ef9cfe97d64825f8e6b7b4e82556ef020a44b5 (patch)
tree70aee7a5a8a768f8f9bddc1c66568eda6969fdc9 /source/Log.cpp
parentMakefile: Added FreeBSD support. (diff)
downloadcuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.gz
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.bz2
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.lz
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.xz
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.zst
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.zip
Diffstat (limited to 'source/Log.cpp')
-rw-r--r--source/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Log.cpp b/source/Log.cpp
index 2b505de5d..c8937c380 100644
--- a/source/Log.cpp
+++ b/source/Log.cpp
@@ -138,7 +138,7 @@ void cLog::Log(const char * a_Format, va_list argList)
#if defined (_WIN32) && defined(_DEBUG)
// In a Windows Debug build, output the log to debug console as well:
- OutputDebugStringA(Line.c_str());
+ OutputDebugStringA((Line + "\n").c_str());
#endif // _WIN32
}