More preparation for localization.

This commit is contained in:
OBattler
2021-11-09 19:57:38 +01:00
parent e2bdeae4cc
commit c892c521ea
3 changed files with 22 additions and 0 deletions

View File

@@ -241,6 +241,15 @@ size_t c16stombs(char dst[], const uint16_t src[], int len)
}
int
has_language_changed(int id)
{
LCID lcidNew = MAKELCID(id, dwSubLangID);
return (lang_id != lcidNew);
}
/* Set (or re-set) the language for the application. */
void
set_language(int id)