improve checking if song is in playlist in search engine

This commit is contained in:
unK
2008-09-09 10:01:56 +02:00
parent 52241fd36d
commit cad4d36807
4 changed files with 15 additions and 8 deletions

View File

@@ -132,7 +132,7 @@ void UpdateSongList(Menu<Song> *menu)
menu->Refresh();
}
void UpdateFoundList(const SongList &v, Menu<string> *menu)
void UpdateFoundList(const SongList &v)
{
int i = search_engine_static_option;
bool bold = 0;
@@ -146,10 +146,9 @@ void UpdateFoundList(const SongList &v, Menu<string> *menu)
break;
}
}
menu->BoldOption(i, bold);
mSearcher->BoldOption(i, bold);
bold = 0;
}
menu->Refresh();
}
string DisplayKeys(int *key, int size)