From de342cb3687378e8ebb8df50ab6fec95b3d4c1da Mon Sep 17 00:00:00 2001 From: elasota Date: Thu, 21 May 2020 08:22:29 -0400 Subject: [PATCH] Fix bad string compare function (caused houses to not appear if they started with the same name as another house) --- PortabilityLayer/PLStringCompare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PortabilityLayer/PLStringCompare.cpp b/PortabilityLayer/PLStringCompare.cpp index d63cf02..bf6dd7f 100644 --- a/PortabilityLayer/PLStringCompare.cpp +++ b/PortabilityLayer/PLStringCompare.cpp @@ -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);