diff options
author | Max Kellermann <max@duempel.org> | 2008-09-18 23:35:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-18 23:35:12 +0200 |
commit | 860824f958bf3cad703b67ee612f1ae5b5e1957f (patch) | |
tree | afac1c6cccef64749fd739a99a0cd1eec83dcd3a /src/screen_browser.h | |
parent | 40224a072247844ffe1dbe650f13dfbb4281b581 (diff) | |
download | mpd-860824f958bf3cad703b67ee612f1ae5b5e1957f.tar.gz mpd-860824f958bf3cad703b67ee612f1ae5b5e1957f.tar.xz mpd-860824f958bf3cad703b67ee612f1ae5b5e1957f.zip |
screen_browser: moved code to browser_select_entry()
Moved code from browser_handle_select(). Call this new function also
from browser_handle_select_all(). This fixes a bug in select_all():
it actually did not select all, but stopped after the first song.
Diffstat (limited to '')
-rw-r--r-- | src/screen_browser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen_browser.h b/src/screen_browser.h index a867eda0a..1b7c70608 100644 --- a/src/screen_browser.h +++ b/src/screen_browser.h @@ -48,7 +48,8 @@ const char *browser_lw_callback(unsigned index, int *highlight, void *filelist); int browser_handle_select(struct screen_browser *browser, mpdclient_t *c); -int browser_handle_select_all(struct screen_browser *browser, mpdclient_t *c); +void +browser_handle_select_all(struct screen_browser *browser, mpdclient_t *c); int browser_change_directory(struct screen_browser *browser, mpdclient_t *c, |