Merge pull request #8468 from Emilcha/nocase_friendlist_sort

Server browser friend list: sort not case sensitive
This commit is contained in:
Dennis Felsing 2024-06-09 01:30:23 +00:00 committed by GitHub
commit 31211c3064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -403,8 +403,8 @@ protected:
bool operator<(const CFriendItem &Other) const
{
const int Result = str_comp(m_aName, Other.m_aName);
return Result < 0 || (Result == 0 && str_comp(m_aClan, Other.m_aClan) < 0);
const int Result = str_comp_nocase(m_aName, Other.m_aName);
return Result < 0 || (Result == 0 && str_comp_nocase(m_aClan, Other.m_aClan) < 0);
}
};