From: Max Kellermann Date: Fri, 2 Oct 2009 07:45:10 +0000 (+0200) Subject: screen_search: removed check for MPD >= 0.12 X-Git-Tag: release-0.16~216 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=98f27f8d53d535dcd614bd4d99529523a7738fbe;p=ncmpc.git screen_search: removed check for MPD >= 0.12 Redundant, this is checked in main.c right after connection was established. --- diff --git a/src/screen_search.c b/src/screen_search.c index 3829f8d..269fedd 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -321,9 +321,7 @@ search_new(struct mpdclient *c) browser.filelist = NULL; } - if (mpd_connection_cmp_server_version(c->connection, 0, 12, 0) >= 0) - browser.filelist = search_advanced_query(pattern, c); - + browser.filelist = search_advanced_query(pattern, c); if (!advanced_search_mode && browser.filelist == NULL) browser.filelist = filelist_search(c, FALSE, mode[options.search_mode].table,