summaryrefslogtreecommitdiff
path: root/editor/quick_open.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-27 11:03:13 +0100
committerGitHub <noreply@github.com>2022-01-27 11:03:13 +0100
commit899cd3442659f5208a08545b520ae6e6fe2552e7 (patch)
treec5ab709e12aa95ec25b570061da62f00fbc92876 /editor/quick_open.cpp
parenta4f999b7dc1314da752692a19231d0c1a8e70601 (diff)
parent3eb5e0ac509def467d53df7a729e76743e235e90 (diff)
Merge pull request #57281 from Rubonnek/rename-subsequence
Diffstat (limited to 'editor/quick_open.cpp')
-rw-r--r--editor/quick_open.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/quick_open.cpp b/editor/quick_open.cpp
index 118c016c6d..2a8ca67fe6 100644
--- a/editor/quick_open.cpp
+++ b/editor/quick_open.cpp
@@ -84,7 +84,7 @@ void EditorQuickOpen::_update_search() {
// Filter possible candidates.
Vector<Entry> entries;
for (int i = 0; i < files.size(); i++) {
- if (empty_search || search_text.is_subsequence_ofi(files[i])) {
+ if (empty_search || search_text.is_subsequence_ofn(files[i])) {
Entry r;
r.path = files[i];
r.score = empty_search ? 0 : _score_path(search_text, files[i].to_lower());