mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 20:24:41 +00:00
Fix typos with codespell
Using codespell 1.16.0.
See ab3bccdb78 for procedure.
This commit is contained in:
parent
8d60f5a349
commit
40f0649e5b
4 changed files with 7 additions and 7 deletions
|
|
@ -539,16 +539,16 @@ Error ExtendGDScriptParser::get_left_function_call(const lsp::Position &p_positi
|
|||
}
|
||||
|
||||
while (c >= 0) {
|
||||
const CharType &charactor = line[c];
|
||||
if (charactor == ')') {
|
||||
const CharType &character = line[c];
|
||||
if (character == ')') {
|
||||
++bracket_stack;
|
||||
} else if (charactor == '(') {
|
||||
} else if (character == '(') {
|
||||
--bracket_stack;
|
||||
if (bracket_stack < 0) {
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
if (bracket_stack <= 0 && charactor == ',') {
|
||||
if (bracket_stack <= 0 && character == ',') {
|
||||
++index;
|
||||
}
|
||||
--c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue