Fix negative search result match

This commit is contained in:
Andreas Raddau 2022-07-12 15:14:43 +02:00
parent 42537daeb1
commit 48b8bfbbcf

View file

@ -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;
}