* sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR,

not Is_Fg_BGR.
This commit is contained in:
Andrew V. Samoilov 2005-03-19 18:15:17 +00:00
parent c14b24ebe9
commit a1781bc719
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-03-19 Pavel S. Shirshov <me@pavelsh.pp.ru>
* sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR,
not Is_Fg_BGR.
2005-02-10 Roland Illig <roland.illig@gmx.de>
* include/slang.h: Define __unix__ if __NetBSD__ is defined.

View File

@ -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)