mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix localizing in browser
Thanks to gerdoe for noticing
This commit is contained in:
parent
94f307aaaf
commit
d5648f5cde
|
@ -118,7 +118,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
|||
if(PlayersOrPing && g_Config.m_BrSortOrder == 2 && (s_aCols[i].m_Sort == IServerBrowser::SORT_NUMPLAYERS || s_aCols[i].m_Sort == IServerBrowser::SORT_PING))
|
||||
Checked = 2;
|
||||
|
||||
if(DoButton_GridHeader(s_aCols[i].m_Caption, s_aCols[i].m_Caption, Checked, &s_aCols[i].m_Rect))
|
||||
if(DoButton_GridHeader(s_aCols[i].m_Caption, Localize(s_aCols[i].m_Caption), Checked, &s_aCols[i].m_Rect))
|
||||
{
|
||||
if(s_aCols[i].m_Sort != -1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue