File src/display.cpp changed (mode: 100644) (index 232324f..891d530) |
... |
... |
void pms_win_playlist::draw() |
724 |
724 |
{ |
{ |
725 |
725 |
hilight = pms->options->colors->selection; |
hilight = pms->options->colors->selection; |
726 |
726 |
} |
} |
727 |
|
else if (pms->cursong() && song->file == pms->cursong()->file) |
|
728 |
|
{ |
|
729 |
|
if (list->role != LIST_ROLE_MAIN || (list->role == LIST_ROLE_MAIN && pms->cursong()->pos == song->pos)) |
|
730 |
|
{ |
|
|
727 |
|
else if (pms->cursong()) { |
|
728 |
|
if ((list->role == LIST_ROLE_MAIN && pms->cursong()->id == song->id) || (list->role != LIST_ROLE_MAIN && song->file == pms->cursong()->file)) { |
731 |
729 |
hilight = pms->options->colors->current; |
hilight = pms->options->colors->current; |
732 |
730 |
} |
} |
733 |
731 |
} |
} |