From: Max Kellermann Date: Fri, 2 Oct 2009 17:19:11 +0000 (+0200) Subject: screen_search: renamed filelist_search() to search_simple_query() X-Git-Tag: release-0.16~213 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=38a83b7aecb939d1b3865d72b0bfc2afd0492af9;p=ncmpc.git screen_search: renamed filelist_search() to search_simple_query() --- diff --git a/src/screen_search.c b/src/screen_search.c index 09d5b55..d0c0a78 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -161,8 +161,8 @@ search_clear(bool clear_pattern) } static struct filelist * -filelist_search(struct mpdclient *c, G_GNUC_UNUSED int exact_match, int table, - gchar *local_pattern) +search_simple_query(struct mpdclient *c, G_GNUC_UNUSED int exact_match, + int table, gchar *local_pattern) { struct filelist *list, *list2; gchar *filter_utf8 = locale_to_utf8(local_pattern); @@ -304,9 +304,9 @@ do_search(struct mpdclient *c, char *query) fl = search_advanced_query(query, c); if (!advanced_search_mode && browser.filelist == NULL) - return filelist_search(c, FALSE, - mode[options.search_mode].table, - query); + return search_simple_query(c, FALSE, + mode[options.search_mode].table, + query); return fl; }