From e5b9eacd8946fb8a30ad8126012a1216d3df5adb Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Sat, 5 Jan 2002 01:52:02 +0000
Subject: [PATCH] winio.c:bottombars() - Get rid of that annoying reversed line
 when color is on! :)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@972 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog | 2 ++
 winio.c   | 1 +
 2 files changed, 3 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 69e5adef..a5c0a5e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,8 @@ CVS code -
 	  high ascii characters.
   titlebar()
 	- gettextized a pair of strings.
+  bottombars()
+	- Get rid of that annoying reversed line when color is on! :)
 - m4/gettext.m4:
 	- Back down to 1.1.3 version.
 - faq.html:
diff --git a/winio.c b/winio.c
index 8d31c80b..d4c9e302 100644
--- a/winio.c
+++ b/winio.c
@@ -603,6 +603,7 @@ void bottombars(shortcut s[], int slen)
 
 #ifdef ENABLE_COLOR    
     color_on(bottomwin, COLOR_BOTTOMBARS);
+    wattroff(bottomwin, A_REVERSE);
 #endif
 
     /* Determine how many extra spaces are needed to fill the bottom of the screen */
-- 
GitLab