diff --git a/src/engine/client/serverbrowser.cpp b/src/engine/client/serverbrowser.cpp index 9c46ae1eb..f4cad201d 100644 --- a/src/engine/client/serverbrowser.cpp +++ b/src/engine/client/serverbrowser.cpp @@ -1066,7 +1066,7 @@ bool CServerBrowser::DDNetFiltered(char *pFilter, const char *pName) void CServerBrowser::DDNetCountryFilterClean() { char aNewList[128]; - mem_zero(aNewList, sizeof(aNewList)); + aNewList[0] = '\0'; for(int i = 0; i < m_NumDDNetCountries; i++) { @@ -1085,7 +1085,7 @@ void CServerBrowser::DDNetCountryFilterClean() void CServerBrowser::DDNetTypeFilterClean() { char aNewList[128]; - mem_zero(aNewList, sizeof(aNewList)); + aNewList[0] = '\0'; for(int i = 0; i < m_NumDDNetTypes; i++) {