mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #8468 from Emilcha/nocase_friendlist_sort
Server browser friend list: sort not case sensitive
This commit is contained in:
commit
31211c3064
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue