Fix build.
This commit is contained in:
parent
c63e2b318f
commit
6a8529460f
@ -891,8 +891,8 @@ SMCResult Translator::ReadSMC_KeyValue(const SMCStates *states, const char *key,
|
|||||||
|
|
||||||
if (len >= sizeof(((Language *)0)->m_code2))
|
if (len >= sizeof(((Language *)0)->m_code2))
|
||||||
{
|
{
|
||||||
logger->LogError("[SM] Warning encountered parsing languages.cfg file.");
|
smcore.LogError("[SM] Warning encountered parsing languages.cfg file.");
|
||||||
logger->LogError("[SM] Invalid language code \"%s\" is too long.", key);
|
smcore.LogError("[SM] Invalid language code \"%s\" is too long.", key);
|
||||||
}
|
}
|
||||||
|
|
||||||
AddLanguage(key, value);
|
AddLanguage(key, value);
|
||||||
|
Loading…
Reference in New Issue
Block a user