fix/amend ae5c614
This commit is contained in:
parent
8217bd07f2
commit
e7355ee2ae
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user