Closed maxime1907 closed 2 years ago
hKv.GetString(szClientLang, SZF(szBuffer));
if (!szBuffer[0])
{
hKv.GetString(szServerLang, SZF(szBuffer));
}
if (!szBuffer[0])
{
strcopy(szServerLang, SZF(szBuffer), "LangError");
}
hKv.GetString(szClientLang, SZF(szBuffer)); if (!szBuffer[0]) { hKv.GetString(szServerLang, SZF(szBuffer)); } if (!szBuffer[0]) { strcopy(szServerLang, SZF(szBuffer), "LangError"); }
Ah okay nice i will change it like this
If the client lang returns an error, it will display LangError instead of displaying it the server language