Fix previous search for built-in-docs

This commit is contained in:
megalobyte
2021-06-05 00:27:49 -07:00
committed by Gregory Basile
parent f102ba8b2f
commit 7408b33895
2 changed files with 11 additions and 4 deletions

View File

@ -1737,7 +1737,7 @@ void FindBar::_update_results_count() {
int from_pos = 0;
while (true) {
int pos = full_text.find(searched, from_pos);
int pos = full_text.findn(searched, from_pos);
if (pos == -1) {
break;
}