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
This commit is contained in:
parent
721c897ad9
commit
88882a83d6
1 changed files with 5 additions and 1 deletions
|
@ -756,7 +756,11 @@ bool search_playlist(void)
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
if (action_userabort(TIMEOUT_NOBLOCK))
|
if (action_userabort(TIMEOUT_NOBLOCK))
|
||||||
|
{
|
||||||
|
if (!found_indicies_count)
|
||||||
return ret;
|
return ret;
|
||||||
|
break;
|
||||||
|
}
|
||||||
playlist_get_track_info(viewer.playlist,i,&track);
|
playlist_get_track_info(viewer.playlist,i,&track);
|
||||||
if (strcasestr(track.filename,search_str))
|
if (strcasestr(track.filename,search_str))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue