mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-13 19:49:36 +00:00
Fix insensitive compare not working properly with strings of different length
This commit is contained in:
@@ -47,7 +47,7 @@ namespace StrCmp
|
||||
const uint8_t *chars2 = string2.UChars();
|
||||
|
||||
const size_t len1 = string1.Length();
|
||||
const size_t len2 = string1.Length();
|
||||
const size_t len2 = string2.Length();
|
||||
|
||||
const size_t shorterLen = std::min(len1, len2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user