13
0
This commit is contained in:
Robin Gareus 2015-03-12 03:24:09 +01:00
parent 8217bd07f2
commit e7355ee2ae

View File

@ -95,6 +95,8 @@ fixup_bundle_environment (int, char* [], const char** localedir)
// Unset GTK_RC_FILES so that only ardour specific files are loaded // Unset GTK_RC_FILES so that only ardour specific files are loaded
Glib::unsetenv ("GTK_RC_FILES"); Glib::unsetenv ("GTK_RC_FILES");
std::string path;
if (ARDOUR::translations_are_enabled ()) { if (ARDOUR::translations_are_enabled ()) {
path = windows_search_path().to_string(); path = windows_search_path().to_string();
path += "\\locale"; path += "\\locale";
@ -104,7 +106,6 @@ fixup_bundle_environment (int, char* [], const char** localedir)
(*localedir) = strdup (path.c_str()); (*localedir) = strdup (path.c_str());
} }
std::string path;
const char *cstr; const char *cstr;
cstr = getenv ("VAMP_PATH"); cstr = getenv ("VAMP_PATH");
if (cstr) { if (cstr) {