From 860824f958bf3cad703b67ee612f1ae5b5e1957f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 18 Sep 2008 23:35:12 +0200 Subject: 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. --- src/screen_browser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/screen_browser.h') 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, -- cgit v1.2.3