Fix negative search result match
This commit is contained in:
parent
42537daeb1
commit
48b8bfbbcf
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ void FindReplaceBar::_update_results_count() {
|
|||
|
||||
if (results_count_to_current > results_count) {
|
||||
results_count_to_current = results_count_to_current - results_count;
|
||||
} else if (results_count_to_current == 0) {
|
||||
} else if (results_count_to_current <= 0) {
|
||||
results_count_to_current = results_count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue