summaryrefslogtreecommitdiff
path: root/modules/text_server_adv/script_iterator.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-10 15:16:04 +0100
committerGitHub <noreply@github.com>2022-02-10 15:16:04 +0100
commit242c636a63ac2d8b002ace37388dce9273a9048a (patch)
tree82f8a101fb4461d29bc9dd1e2bc147bb99c706f6 /modules/text_server_adv/script_iterator.cpp
parentf21a62b62027a88ea90de539a48df8e280a820e8 (diff)
parent1bdb82c64e65f23381183051ef1fc9856a7830f8 (diff)
Merge pull request #57909 from akien-mga/codespell
Diffstat (limited to 'modules/text_server_adv/script_iterator.cpp')
-rw-r--r--modules/text_server_adv/script_iterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/text_server_adv/script_iterator.cpp b/modules/text_server_adv/script_iterator.cpp
index 9e3d9138d0..06e934c67d 100644
--- a/modules/text_server_adv/script_iterator.cpp
+++ b/modules/text_server_adv/script_iterator.cpp
@@ -82,7 +82,7 @@ ScriptIterator::ScriptIterator(const String &p_string, int p_start, int p_length
paren_stack[paren_sp].pair_index = ch;
paren_stack[paren_sp].script_code = script_code;
} else if (paren_sp >= 0) {
- // If it's a close character, find the matching open on the stack, and use that script code. Any non-matching open characters above it on the stack will be poped.
+ // If it's a close character, find the matching open on the stack, and use that script code. Any non-matching open characters above it on the stack will be popped.
UChar32 paired_ch = u_getBidiPairedBracket(ch);
while (paren_sp >= 0 && paren_stack[paren_sp].pair_index != paired_ch) {
paren_sp -= 1;