From: Kalle Wallin Date: Sun, 19 Dec 2004 13:07:05 +0000 (+0000) Subject: Bugfix from Niko Tyni, survive find operations on empty search results X-Git-Tag: v0.12_alpha1~448 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b5cfc9320d75a93809d77751f2d9e220b7a09219;p=ncmpc.git Bugfix from Niko Tyni, survive find operations on empty search results git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2807 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/src/screen_search.c b/src/screen_search.c index 95c3830..71329f0 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -280,6 +280,9 @@ search_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) return screen_find(screen, c, lw, filelist->length, cmd, browse_lw_callback, (void *) filelist); + else + return 1; + case CMD_MOUSE_EVENT: return browse_handle_mouse_event(screen,c,lw,filelist);