summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_env_msvc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/bundle_env_msvc.cc')
-rw-r--r--gtk2_ardour/bundle_env_msvc.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/bundle_env_msvc.cc b/gtk2_ardour/bundle_env_msvc.cc
index 8dced22050..bde3ed050a 100644
--- a/gtk2_ardour/bundle_env_msvc.cc
+++ b/gtk2_ardour/bundle_env_msvc.cc
@@ -437,6 +437,9 @@ fixup_bundle_environment (int argc, char* argv[], const char** localedir)
path = windows_search_path().to_string();
path += "\\locale";
Glib::setenv ("GTK_LOCALEDIR", path, true);
+
+ // and return the same path to our caller
+ (*localedir) = strdup (path.c_str());
}