Mercurial > audlegacy
changeset 4424:60f53670478a
fix selection of last item, if total amount of items in playlist is smaller than playlist's capacity
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 06 Apr 2008 10:57:19 +0200 |
parents | 5717879de1af |
children | b96e8628a030 |
files | src/audacious/ui_skinned_playlist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_playlist.c Sat Apr 05 12:28:22 2008 +0200 +++ b/src/audacious/ui_skinned_playlist.c Sun Apr 06 10:57:19 2008 +0200 @@ -527,7 +527,8 @@ in_selection = TRUE; } - if ((!entry->selected || i == pl->first + pl->num_visible - 1) + if ((!entry->selected || + (i == pl->first + pl->num_visible - 1) || !g_list_next(list)) && in_selection) { if (!entry->selected)