From a1781bc7194bbdc3b88e937bf31f487ae1e78801 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Sat, 19 Mar 2005 18:15:17 +0000 Subject: [PATCH] * sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR, not Is_Fg_BGR. --- slang/ChangeLog | 5 +++++ slang/sldisply.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/slang/ChangeLog b/slang/ChangeLog index c12f34219..7d36fe63b 100644 --- a/slang/ChangeLog +++ b/slang/ChangeLog @@ -1,3 +1,8 @@ +2005-03-19 Pavel S. Shirshov + + * sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR, + not Is_Fg_BGR. + 2005-02-10 Roland Illig * include/slang.h: Define __unix__ if __NetBSD__ is defined. diff --git a/slang/sldisply.c b/slang/sldisply.c index d9ef5dcd0..dc30173bc 100644 --- a/slang/sldisply.c +++ b/slang/sldisply.c @@ -2431,7 +2431,7 @@ int SLtt_initialize (char *term) if (Color_Bg_Str == NULL) { Color_Bg_Str = SLtt_tgetstr ("Sb"); /* setb */ - Is_Fg_BGR = (Color_Bg_Str != NULL); + Is_Bg_BGR = (Color_Bg_Str != NULL); } if ((Max_Terminfo_Colors = SLtt_tgetnum ("Co")) < 0)