summaryrefslogtreecommitdiff
path: root/src/display.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2014-11-08 16:34:38 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2014-11-08 21:20:38 +0100
commit75bae9862e7cdb1c9d27f376b6af0c85c88c3c1f (patch)
tree93be22304feff3d1ab35e203ed7dcf78440164aa /src/display.cpp
parent8d9ddd5ff8fe4ce838a8a1e283c1fd186f52dd9a (diff)
window: change internal color representation
Diffstat (limited to 'src/display.cpp')
-rw-r--r--src/display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.cpp b/src/display.cpp
index 25f1b8cc..ac31c720 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -124,7 +124,7 @@ void showSongs(NC::Menu<T> &menu, const MPD::Song &s, const ProxySongList &pl, c
else if (isdigit(*it)) // color
{
if (!discard_colors)
- menu << NC::Color(*it-'0');
+ menu << charToColor(*it);
}
else if (*it == 'R') // right align
{