From 09da245d6176537f82a37facd34b39dfdf171128 Mon Sep 17 00:00:00 2001 From: cim Date: Sun, 28 Dec 2014 18:37:18 +0000 Subject: [PATCH] Make shipyard sorting not case sensitive --- src/Core/Universe.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Universe.m b/src/Core/Universe.m index 38617e3f..7bc63bae 100644 --- a/src/Core/Universe.m +++ b/src/Core/Universe.m @@ -8727,7 +8727,7 @@ static OOComparisonResult compareName(id dict1, id dict2, void *context) NSString *name1 = [ship1 oo_stringForKey:KEY_NAME]; NSString *name2 = [ship2 oo_stringForKey:KEY_NAME]; - NSComparisonResult result = [name1 compare:name2]; + NSComparisonResult result = [[name1 lowercaseString] compare:[name2 lowercaseString]]; if (result != NSOrderedSame) return result; else