author | Max Kellermann <max@duempel.org> | |
Tue, 20 Apr 2010 20:02:54 +0000 (22:02 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 20 Apr 2010 20:02:54 +0000 (22:02 +0200) | ||
commit | 665ebd4662110c8cc14b64356914af9212846caf | |
tree | f1ffb7506d94fff2b7156eb121af5e8a4e5c0b69 | tree | snapshot |
parent | 0ad254f926e6394f79cadd8eb149d90a617d1b77 | commit | diff |
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.
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 | diff | blob | history | |
src/screen_queue.c | diff | blob | history |