From 290bdfa2ccaa9be57a543a2bb6307bf1ce6fd032 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Thu, 29 Oct 2009 10:07:05 +0100 Subject: [PATCH] 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. --- src/screen_browser.c | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.30.2