summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-04-23 00:26:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-04-23 00:26:20 (GMT)
commitf3368e7c983c7a5a3f127d7b91089ccbf3da6eb1 (patch)
tree0365ba9436f90e165fee5744e5a83b6801f77fca /Source
parent415b16aab9adc50f63f1de631ae36be310720530 (diff)
downloadCMake-f3368e7c983c7a5a3f127d7b91089ccbf3da6eb1.zip
CMake-f3368e7c983c7a5a3f127d7b91089ccbf3da6eb1.tar.gz
CMake-f3368e7c983c7a5a3f127d7b91089ccbf3da6eb1.tar.bz2
BUG: Fixed bug in check for vt100 assumption.
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/Terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/Terminal.c b/Source/kwsys/Terminal.c
index 9886c24..0e9f990 100644
--- a/Source/kwsys/Terminal.c
+++ b/Source/kwsys/Terminal.c
@@ -64,7 +64,7 @@ void kwsysTerminal_cfprintf(int color, FILE* stream, const char* format, ...)
/* Setup the stream with the given color if possible. */
int pipeIsConsole = 0;
int pipeIsVT100 = 0;
- int default_vt100 = color & kwsysTerminal_Color_AssumeTTY;
+ int default_vt100 = color & kwsysTerminal_Color_AssumeVT100;
int default_tty = color & kwsysTerminal_Color_AssumeTTY;
#if defined(KWSYS_TERMINAL_SUPPORT_CONSOLE)
CONSOLE_SCREEN_BUFFER_INFO hOutInfo;