Code

screen_search: renamed filelist_search() to search_simple_query()
authorMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 17:19:11 +0000 (19:19 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 17:19:11 +0000 (19:19 +0200)
src/screen_search.c

index 09d5b553a0111fa82475eeab76787fc3c908f1f0..d0c0a78c074da96f5ab32c5e35f29f92da315b64 100644 (file)
@@ -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;
 }