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)