From 7f11d13c8a75d430524640235e3289aa0ef6f2fc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 23 Oct 2019 23:59:59 +0200 Subject: [PATCH] Fix prev commit, g_setenv() params --- gtk2_ardour/bundle_env_cocoa.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/bundle_env_cocoa.cc b/gtk2_ardour/bundle_env_cocoa.cc index 9ba3e9311a..a9524e5abd 100644 --- a/gtk2_ardour/bundle_env_cocoa.cc +++ b/gtk2_ardour/bundle_env_cocoa.cc @@ -87,7 +87,7 @@ fixup_bundle_environment (int argc, char* argv[], string & localedir) no_app_nap (); if (g_getenv ("ARDOUR_SELF")) { - g_setenv ("ARDOUR_SELF", argv[0]); + g_setenv ("ARDOUR_SELF", argv[0], 1); } if (g_getenv ("PREBUNDLE_ENV")) { EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true, "PREBUNDLE_ENV"));