Fix search crash
This commit is contained in:
parent
11485e15e4
commit
93ee78f05a
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ public class SearchUICore {
|
||||||
int k = 0;
|
int k = 0;
|
||||||
boolean same = false;
|
boolean same = false;
|
||||||
while(searchResults.size() > k && k < DEPTH_TO_CHECK_SAME_SEARCH_RESULTS) {
|
while(searchResults.size() > k && k < DEPTH_TO_CHECK_SAME_SEARCH_RESULTS) {
|
||||||
if(sameSearchResult(addedResult, searchResults.get(searchResults.size() - k))) {
|
if(sameSearchResult(addedResult, searchResults.get(searchResults.size() - k - 1))) {
|
||||||
same = true;
|
same = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue