summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_env_msvc.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-04-15 18:53:24 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2014-04-15 18:53:24 +0100
commit2b10af45ab697227c66650d3e3f08e4c24c4d561 (patch)
treecea8ed9680d5b6bc16927ca01c88052d0609d9d5 /gtk2_ardour/bundle_env_msvc.cc
parentdc4eae5c3720fc141a61bf67bdb410eb4b6ad433 (diff)
Ensure that 'fixup_bundle_environment()' returns a suitable localedir (msvc)
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());
}