]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
- don't force monochrome terminals to output colors
authormlichvar <mlichvar>
Wed, 31 Jan 2007 11:14:16 +0000 (11:14 +0000)
committermlichvar <mlichvar>
Wed, 31 Jan 2007 11:14:16 +0000 (11:14 +0000)
newt.c

diff --git a/newt.c b/newt.c
index b56de524bcf6a0702cfe165bf2f71d06c8eb26f7..84dff41096fec2761fe24228235b12993d0e9922 100644 (file)
--- 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;