diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-14 00:07:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 00:07:01 +0200 |
commit | cf9994ed03c8448c75cbb4a1b016686acfc61659 (patch) | |
tree | 047d8ef711b73a2ea2ea96ec66e6ffc29dc0b4c9 | |
parent | 7e49c8c30e78198c10bc08f1c78700dde3ba342a (diff) | |
parent | 48b8bfbbcf101f400171da81cd7bb88fa65242e5 (diff) |
Merge pull request #62952 from and-rad/results-count-no-negative
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 50abe8bc36..3a0edf301d 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -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; } |