1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Fix build after merge of #40097

CI had passed back then but this would have needed a rebase to
take into account recent changes to String.
This commit is contained in:
Rémi Verschelde
2020-10-07 14:23:44 +02:00
parent cb77e8d6cf
commit 0d8bd93e40

View File

@@ -792,8 +792,8 @@ signed char String::naturalnocasecmp_to(const String &p_str) const {
} }
// Keep ptrs to start of numerical sequences // Keep ptrs to start of numerical sequences
const CharType *this_substr = this_str; const char32_t *this_substr = this_str;
const CharType *that_substr = that_str; const char32_t *that_substr = that_str;
// Compare lengths of both numerical sequences, ignoring leading zeros // Compare lengths of both numerical sequences, ignoring leading zeros
while (IS_DIGIT(*this_str)) { while (IS_DIGIT(*this_str)) {