summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd92842)
raw | patch | inline | side by side (parent: cd92842)
author | Thomas Jansen <mithi@mithi.net> | |
Thu, 29 Oct 2009 09:07:05 +0000 (10:07 +0100) | ||
committer | Thomas Jansen <mithi@mithi.net> | |
Thu, 29 Oct 2009 09:07:05 +0000 (10:07 +0100) |
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.
need to have the colors_use calls before, as they will be overwritten.
src/screen_browser.c | patch | blob | history |
diff --git a/src/screen_browser.c b/src/screen_browser.c
index 985be3898fcd290f4baa38f9d78e6233cfe0058a..0d3eb87808b96b63b60446d6ef6a1aa983288da7 100644 (file)
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
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);