From: mlichvar Date: Wed, 31 Jan 2007 11:14:16 +0000 (+0000) Subject: - don't force monochrome terminals to output colors X-Git-Tag: r0-52-5~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85ee660412766bcc38c7d020b1af30e722e2c936;p=thirdparty%2Fnewt.git - don't force monochrome terminals to output colors --- diff --git a/newt.c b/newt.c index b56de52..84dff41 100644 --- a/newt.c +++ b/newt.c @@ -294,11 +294,8 @@ int newtInit(void) { SLtt_get_screen_size(); MonoValue = getenv(MonoEnv); - if ( MonoValue == NULL ) { - SLtt_Use_Ansi_Colors = 1; - } else { + if ( MonoValue != NULL ) SLtt_Use_Ansi_Colors = 0; - } if ((ret = SLsmg_init_smg()) < 0) return ret;