summaryrefslogtreecommitdiffstats
path: root/src/MCLogger.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-26 23:01:48 +0200
committerarchshift <admin@archshift.com>2014-04-26 23:05:00 +0200
commit7841bad27ad97736ddf21b86e2409f20c6392e69 (patch)
tree0328313dd23d62d875e2e52cbb92f6d7dfda967a /src/MCLogger.cpp
parentMoar alignment. (diff)
downloadcuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.gz
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.bz2
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.lz
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.xz
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.zst
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.zip
Diffstat (limited to 'src/MCLogger.cpp')
-rw-r--r--src/MCLogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MCLogger.cpp b/src/MCLogger.cpp
index d56c1a5a8..583438d65 100644
--- a/src/MCLogger.cpp
+++ b/src/MCLogger.cpp
@@ -81,7 +81,7 @@ void cMCLogger::InitLog(const AString & a_FileName)
{
CONSOLE_SCREEN_BUFFER_INFO sbi;
GetConsoleScreenBufferInfo(g_Console, &sbi);
- m_DefaultConsoleAttrib = sbi.wAttributes;
+ g_DefaultConsoleAttrib = sbi.wAttributes;
}
#elif defined (__linux) && !defined(ANDROID_NDK)
m_ShouldColorOutput = isatty(fileno(stdout));