don't disable bolding if we won't move now playing song anyway

This commit is contained in:
unK
2008-09-05 10:43:25 +02:00
parent c997e13091
commit d7cd982b29

View File

@@ -1570,7 +1570,7 @@ int main(int argc, char *argv[])
mPlaylist->GetSelectedList(list);
for (vector<int>::iterator it = list.begin(); it != list.end(); it++)
if (*it == now_playing)
if (*it == now_playing && list.front() > 0)
mPlaylist->BoldOption(now_playing, 0);
vector<int>origs(list);
@@ -1662,7 +1662,7 @@ int main(int argc, char *argv[])
mPlaylist->GetSelectedList(list);
for (vector<int>::iterator it = list.begin(); it != list.end(); it++)
if (*it == now_playing)
if (*it == now_playing && list.back() < mPlaylist->Size()-1)
mPlaylist->BoldOption(now_playing, 0);
vector<int>origs(list);