window: change internal color representation

This commit is contained in:
Andrzej Rybczak
2014-11-08 16:34:38 +01:00
parent 8d9ddd5ff8
commit 75bae9862e
14 changed files with 211 additions and 222 deletions

View File

@@ -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
{