# HG changeset patch # User Tomasz Mon # Date 1206989227 -7200 # Node ID ae628568ea94b75a7f0432d0f0dff54efd50c0ca # Parent fa676e489b645694c526a585e8f1cb403094e258 make selection working for last item in playlist diff -r fa676e489b64 -r ae628568ea94 src/audacious/ui_skinned_playlist.c --- a/src/audacious/ui_skinned_playlist.c Mon Mar 31 17:31:45 2008 +0300 +++ b/src/audacious/ui_skinned_playlist.c Mon Mar 31 20:47:07 2008 +0200 @@ -508,7 +508,7 @@ list = g_list_nth(list, pl->first); for (i = pl->first; - list && i < pl->first + pl->num_visible; + list && i <= pl->first + pl->num_visible; list = g_list_next(list), i++) { entry = list->data;