arm (and thus save) global environment before messing it with it in bundled version

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8454 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-01-06 00:41:18 +00:00
parent 370d24973e
commit c5bfe2d5f8

View file

@ -79,7 +79,7 @@ fixup_bundle_environment (int argc, char* argv[])
return;
}
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency);
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true));
set_language_preference ();
@ -273,7 +273,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));