Code

screen_queue: fix range selection check on "shuffle"
authorMax Kellermann <max@duempel.org>
Tue, 20 Apr 2010 20:02:54 +0000 (22:02 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 20 Apr 2010 20:02:54 +0000 (22:02 +0200)
commit665ebd4662110c8cc14b64356914af9212846caf
treef1ffb7506d94fff2b7156eb121af5e8a4e5c0b69
parent0ad254f926e6394f79cadd8eb149d90a617d1b77
screen_queue: fix range selection check on "shuffle"

When list_window_get_range() was changed to become more robust, its
return value changed when no range was selected.  This patch makes
CMD_SHUFFLE assume that range selection is disabled when only one song
is selected, and shuffling one song doesn't make sense anyway.
NEWS
src/screen_queue.c