13
0

backport from 2.X: arm (and thus save) global environment before messing it with it in bundled version

git-svn-id: svn://localhost/ardour2/branches/3.0@8455 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-01-06 00:42:01 +00:00
parent 1f8e12a1b1
commit 10ead326e4

View File

@ -112,6 +112,8 @@ fixup_bundle_environment ()
return;
}
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true));
set_language_preference ();
char execpath[MAXPATHLEN+1];
@ -309,7 +311,7 @@ fixup_bundle_environment (int argc, char* argv[])
return;
}
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency);
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true));
Glib::ustring exec_path = argv[0];
Glib::ustring dir_path = Glib::path_get_dirname (Glib::path_get_dirname (exec_path));