Fix wrong house sort order

This commit is contained in:
elasota
2021-03-08 21:58:46 -05:00
parent 7f4d782c0d
commit 0931f25f23

View File

@@ -70,9 +70,9 @@ short WhichStringFirst (StringPtr p1, StringPtr p2)
{ {
if (!foundIt) if (!foundIt)
{ {
if (p1[0] < p2[0]) // shortest string wins if (p1[0] > p2[0]) // shortest string wins
greater = 1; greater = 1;
else if (p1[0] > p2[0]) else if (p1[0] < p2[0])
greater = 2; greater = 2;
} }
foundIt = true; foundIt = true;