From: Thomas Jansen Date: Thu, 29 Oct 2009 09:07:05 +0000 (+0100) Subject: screen_browse: removed unnecessary color selection X-Git-Tag: release-0.16~57 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=290bdfa2ccaa9be57a543a2bb6307bf1ce6fd032;p=ncmpc.git screen_browse: removed unnecessary color selection All cases use row_paint_text internally which sets the color. There is no need to have the colors_use calls before, as they will be overwritten. --- diff --git a/src/screen_browser.c b/src/screen_browser.c index 985be38..0d3eb87 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -536,11 +536,6 @@ screen_browser_paint_callback(WINDOW *w, unsigned i, highlight = false; #endif - if (highlight) - colors_use(w, COLOR_LIST_BOLD); - else - colors_use(w, COLOR_LIST); - switch (mpd_entity_get_type(entity)) { case MPD_ENTITY_TYPE_DIRECTORY: directory = mpd_entity_get_directory(entity);