From 88882a83d61c511d69256ed4d20dcaa12707855b Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 4 Aug 2007 09:36:47 +0000 Subject: [PATCH] sync and commit FS#4954 - return any results found when aborting a playlist search git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14179 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist_viewer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 5f2eeaf7b8..09d6e48614 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -756,7 +756,11 @@ bool search_playlist(void) #endif ); if (action_userabort(TIMEOUT_NOBLOCK)) - return ret; + { + if (!found_indicies_count) + return ret; + break; + } playlist_get_track_info(viewer.playlist,i,&track); if (strcasestr(track.filename,search_str)) {