diff options
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r-- | plugins/gtkui/search.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c index 4c6bd99b..d71b4cef 100644 --- a/plugins/gtkui/search.c +++ b/plugins/gtkui/search.c @@ -62,7 +62,9 @@ search_start (void) { void search_process (const char *text) { - deadbeef->pl_search_process (text); + ddb_playlist_t *plt = deadbeef->plt_get_curr (); + deadbeef->plt_search_process (plt, text); + deadbeef->plt_unref (plt); int row = deadbeef->pl_get_cursor (PL_SEARCH); if (row >= deadbeef->pl_getcount (PL_SEARCH)) { |