From add1b6ab3c91d408635b311127224dd4cc33f1ab Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 23 Sep 2022 14:33:43 +1000 Subject: Cleanup: spelling in comments --- source/blender/blenlib/intern/string_search.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/string_search.cc b/source/blender/blenlib/intern/string_search.cc index 31ea24eb494..96e2ad33619 100644 --- a/source/blender/blenlib/intern/string_search.cc +++ b/source/blender/blenlib/intern/string_search.cc @@ -458,7 +458,7 @@ int BLI_string_search_query(StringSearch *search, const char *query, void ***r_d if (score == found_scores[0] && !query_str.is_empty()) { /* Sort items with best score by length. Shorter items are more likely the ones you are * looking for. This also ensures that exact matches will be at the top, even if the query is - * a substring of another item. */ + * a sub-string of another item. */ std::sort(indices.begin(), indices.end(), [&](int a, int b) { return search->items[a].length < search->items[b].length; }); -- cgit v1.2.3