Use (r)find_char instead of (r)find for single characters

This commit is contained in:
A Thousand Ships committed 2024-11-17 10:02:18 +01:00
1 parent 5efd124ca1
commit 68f638cf02
70 files changed
+169 -169

No files matched your search

+1 -1
View File
@@ -3472,7 +3472,7 @@ static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, c
}
String arg = arg_itr->name;
if (arg.contains(":")) {
arg = arg.substr(0, arg.find(":"));
arg = arg.substr(0, arg.find_char(':'));
}
method_hint += arg;
if (use_type_hint) {