Slightly better version of the fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@973 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2002-01-05 02:03:29 +00:00
parent e5b9eacd89
commit 66577acae1
1 changed files with 3 additions and 1 deletions

View File

@ -603,7 +603,9 @@ void bottombars(shortcut s[], int slen)
#ifdef ENABLE_COLOR #ifdef ENABLE_COLOR
color_on(bottomwin, COLOR_BOTTOMBARS); color_on(bottomwin, COLOR_BOTTOMBARS);
wattroff(bottomwin, A_REVERSE); if (!colors[COLOR_BOTTOMBARS - FIRST_COLORNUM].set ||
colors[COLOR_BOTTOMBARS - FIRST_COLORNUM].fg != COLOR_BLACK)
wattroff(bottomwin, A_REVERSE);
#endif #endif
/* Determine how many extra spaces are needed to fill the bottom of the screen */ /* Determine how many extra spaces are needed to fill the bottom of the screen */