From 17ab5119639855de7955bb7a5754175039bc9711 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Thu, 29 Oct 2009 10:12:15 +0100 Subject: [PATCH] screen_browser: removed unnecessary reverse wattroff. All cases internally use row_paint_text that in turn uses row_color and sets the A_REVERSE attribute for the new row. We do not need to switch it off manually. --- src/screen_browser.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/screen_browser.c b/src/screen_browser.c index 0d3eb87..ef66141 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -560,9 +560,6 @@ screen_browser_paint_callback(WINDOW *w, unsigned i, row_paint_text(w, width, highlight ? COLOR_LIST_BOLD : COLOR_LIST, selected, ""); } - - if (selected) - wattroff(w, A_REVERSE); } void -- 2.30.2