mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
clear ddnet filter strings before appending
This commit is contained in:
parent
1645310750
commit
dae855ee9f
|
@ -1066,6 +1066,7 @@ bool CServerBrowser::DDNetFiltered(char *pFilter, const char *pName)
|
|||
void CServerBrowser::DDNetCountryFilterClean()
|
||||
{
|
||||
char aNewList[128];
|
||||
mem_zero(aNewList, sizeof(aNewList));
|
||||
|
||||
for(int i = 0; i < m_NumDDNetCountries; i++)
|
||||
{
|
||||
|
@ -1084,6 +1085,7 @@ void CServerBrowser::DDNetCountryFilterClean()
|
|||
void CServerBrowser::DDNetTypeFilterClean()
|
||||
{
|
||||
char aNewList[128];
|
||||
mem_zero(aNewList, sizeof(aNewList));
|
||||
|
||||
for(int i = 0; i < m_NumDDNetTypes; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue