From: Thomas Jansen Date: Thu, 29 Oct 2009 09:12:15 +0000 (+0100) Subject: screen_browser: removed unnecessary reverse wattroff. X-Git-Tag: release-0.16~56 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17ab5119639855de7955bb7a5754175039bc9711;p=ncmpc.git 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. --- 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