diff options
author | madmaxoft <github@xoft.cz> | 2013-08-10 13:07:49 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-10 13:07:49 +0200 |
commit | 15f80e0811fbc3a842eb29a2f203e107102935c8 (patch) | |
tree | df2c77f7795d1391f4ca61118e702230e5dad624 /source/MCLogger.cpp | |
parent | Coloring is reset before the LF. (diff) | |
download | cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.tar cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.tar.gz cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.tar.bz2 cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.tar.lz cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.tar.xz cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.tar.zst cuberite-15f80e0811fbc3a842eb29a2f203e107102935c8.zip |
Diffstat (limited to '')
-rw-r--r-- | source/MCLogger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/MCLogger.cpp b/source/MCLogger.cpp index 4442fc5b0..de0fcae2e 100644 --- a/source/MCLogger.cpp +++ b/source/MCLogger.cpp @@ -52,7 +52,7 @@ cMCLogger::cMCLogger(void) g_DefaultConsoleAttrib = sbi.wAttributes; } #elif defined (__linux) && !defined(ANDROID_NDK) - g_ShouldColorOutput = isatty(fileno(stdin)); + g_ShouldColorOutput = isatty(fileno(stdout)); // TODO: Check if the terminal supports colors, somehow? #endif } |