summaryrefslogtreecommitdiffstats
path: root/source/MCLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/MCLogger.cpp2
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
}