freesound: break page-request loop if search result is empty.
git-svn-id: svn://localhost/ardour2/branches/3.0@13699 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -879,6 +879,11 @@ SoundFileBrowser::freesound_search()
|
||||
}
|
||||
|
||||
XMLNodeList sounds = sounds_root->children();
|
||||
if (sounds.size() == 0) {
|
||||
/* nothing found */
|
||||
break;
|
||||
}
|
||||
|
||||
XMLNodeConstIterator niter;
|
||||
XMLNode *node;
|
||||
for (niter = sounds.begin(); niter != sounds.end(); ++niter) {
|
||||
|
||||
Reference in New Issue
Block a user