@@ -210,7 +210,7 @@ CServerBrowser::CServerBrowser()
210210 m_pGeneralHelpWindow->SetDeactivateHandler (GUI_CALLBACK (&CServerBrowser::OnGeneralHelpDeactivate, this ));
211211
212212 float fMaxLeft = pManager->CGUI_GetMaxTextExtent (" default-normal" , _ (" Refresh" ), _ (" Add Favorite" ), _ (" Connect" ), _ (" Server information" ));
213- float fMaxRight = pManager->CGUI_GetMaxTextExtent (" default-normal" , _ (" Search servers" ), _ (" Search players" ), _ (" Start search" ));
213+ float fMaxRight = pManager->CGUI_GetMaxTextExtent (" default-normal" , _ (" Search servers" ), _ (" Search players" ), _ (" Start search" ), _ ( " Delete from recent " ) );
214214
215215 CVector2D generalHelpSize (80 + fMaxLeft + 80 + fMaxRight , 160 );
216216 CVector2D generalHelpPos = helpButtonPos - generalHelpSize + CVector2D (helpButtonSize.fX , 0 );
@@ -233,6 +233,7 @@ CServerBrowser::CServerBrowser()
233233 {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 0 + 5 , 29 , 16 , " cgui\\ images\\ serverbrowser\\ search-servers.png" },
234234 {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 1 + 5 , 29 , 16 , " cgui\\ images\\ serverbrowser\\ search-players.png" },
235235 {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 2 + 5 , 16 , 16 , " cgui\\ images\\ serverbrowser\\ search.png" },
236+ {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 3 + 5 , 16 , 16 , " cgui\\ images\\ serverbrowser\\ trashcan.png" },
236237 };
237238
238239 for (uint i = 0 ; i < NUMELMS (iconInfoList); i++)
@@ -256,6 +257,7 @@ CServerBrowser::CServerBrowser()
256257 {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 0 , _ (" Search servers" )},
257258 {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 1 , _ (" Search players" )},
258259 {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 2 , _ (" Start search" )},
260+ {80 + static_cast <int >(fMaxLeft ), iBase + iGap * 3 , _ (" Delete from recent" )},
259261 };
260262
261263 for (uint i = 0 ; i < NUMELMS (helpInfoList); i++)
0 commit comments