From 98f27f8d53d535dcd614bd4d99529523a7738fbe Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 2 Oct 2009 09:45:10 +0200 Subject: [PATCH] screen_search: removed check for MPD >= 0.12 Redundant, this is checked in main.c right after connection was established. --- src/screen_search.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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, -- 2.30.2