diff options
Diffstat (limited to 'source/blender/blenfont/intern/blf_lang.c')
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 435ca8776bc..96d3a231ba5 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -106,6 +106,7 @@ static const char *locales[] = { "serbian (latin)", "sr_RS@latin", "kyrgyz", "ky_KG", "turkish", "tr_TR", + "hungarian", "hu_HU", }; void BLF_lang_init(void) @@ -182,9 +183,9 @@ void BLF_lang_set(const char *str) char *envStr; if (U.language == 0)/* use system setting */ - envStr = BLI_sprintfN( "LANG=%s", getenv("LANG") ); + envStr = BLI_sprintfN("LANG=%s", getenv("LANG")); else - envStr = BLI_sprintfN( "LANG=%s", short_locale ); + envStr = BLI_sprintfN("LANG=%s", short_locale); gettext_putenv(envStr); MEM_freeN(envStr); |