Commit 5a83e8a9 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

gtk: set LANGUAGE env variable as well as LANG on MacOSX because HomeBrew gtk...

gtk: set LANGUAGE env variable as well as LANG on MacOSX because HomeBrew gtk version use LANGUAGE while macports gtk version use LANG...
parent 25cf1f5b
......@@ -2085,7 +2085,7 @@ int main(int argc, char *argv[]){
progpath = strdup(argv[0]);
config_file=linphone_gtk_get_config_file(NULL);
workingdir= (tmp=g_getenv("LINPHONE_WORKDIR")) ? g_strdup(tmp) : NULL;
#ifdef WIN32
......@@ -2112,6 +2112,7 @@ int main(int argc, char *argv[]){
}
#elif __APPLE__
setenv("LANG",lang,1);
setenv("LANGUAGE",lang,1);
#else
setenv("LANGUAGE",lang,1);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment