summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a5b0f5d)
raw | patch | inline | side by side (parent: a5b0f5d)
author | Max Kellermann <max@duempel.org> | |
Thu, 25 Sep 2008 16:38:27 +0000 (18:38 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 25 Sep 2008 16:38:27 +0000 (18:38 +0200) |
The check wasn't actually doing anything, except leaking memory.
Remove it.
Remove it.
src/screen_search.c | patch | blob | history |
diff --git a/src/screen_search.c b/src/screen_search.c
index d29c7bf9594045288602093e1a697601722802d2..6942bf205d759a9e5d1c5258d7a7d9ac12c4ddbd 100644 (file)
--- a/src/screen_search.c
+++ b/src/screen_search.c
}
static void
-paint(mpdclient_t *c)
+paint(mpd_unused mpdclient_t *c)
{
if (browser.filelist) {
browser.lw->flags = 0;
} else {
browser.lw->flags = LW_HIDE_CURSOR;
list_window_paint(browser.lw, lw_search_help_callback, NULL);
- if( !MPD_VERSION_LT(c, 0, 12, 0) )
- g_strdup_printf("Advanced search disabled (MPD version < 0.12.0");
- // wmove(lw->w, 0, 0);
- //wclrtobot(lw->w);
}
}