diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-09-05 07:31:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-05 07:32:19 +0300 |
commit | c13b2a2504393371e32a4fb4c01cfad8d7cc929e (patch) | |
tree | a07973eeff324519187c23cd6b52f61da10d83a3 /source/blender/blentranslation/intern/blt_lang.c | |
parent | bb6a94fa7b28390ea8c22a6026562b0ab6685f92 (diff) |
Fix T54152: --env-system-scripts fails on win32
Diffstat (limited to 'source/blender/blentranslation/intern/blt_lang.c')
-rw-r--r-- | source/blender/blentranslation/intern/blt_lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c index 916de3a5d20..f373ca24861 100644 --- a/source/blender/blentranslation/intern/blt_lang.c +++ b/source/blender/blentranslation/intern/blt_lang.c @@ -214,7 +214,7 @@ void BLT_lang_init(void) * * Would also be good to find nicer way to check if LANG is correct. */ - const char *lang = getenv("LANG"); + const char *lang = BLI_getenv("LANG"); if (lang != NULL) { char *old_locale = setlocale(LC_ALL, NULL); /* Make a copy so subsequenct setlocale() doesn't interfere. */ |