mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Fix bad string compare function (caused houses to not appear if they started with the same name as another house)
This commit is contained in:
@@ -24,7 +24,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