diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-17 11:55:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-17 11:55:17 -0400 |
commit | ebf3c6adb9f6ecaf0428fabd9ab11e3899415c7a (patch) | |
tree | c5858792ea66af2a9f82efcfbac35ff161137c66 | |
parent | f8650acb476227c3fffe739b97be28421810fcb6 (diff) |
fix typo after localedir change
-rw-r--r-- | gtk2_ardour/bundle_env_cocoa.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/bundle_env_cocoa.cc b/gtk2_ardour/bundle_env_cocoa.cc index 1f55b10954..fafa1893bd 100644 --- a/gtk2_ardour/bundle_env_cocoa.cc +++ b/gtk2_ardour/bundle_env_cocoa.cc @@ -76,7 +76,7 @@ fixup_bundle_environment (int, char* [], string & localedir) #ifdef ENABLE_NLS if (!ARDOUR::translations_are_enabled ()) { - (*localedir) = "/this/cannot/exist"; + localedir = "/this/cannot/exist"; } else { /* force localedir into the bundle */ @@ -84,7 +84,7 @@ fixup_bundle_environment (int, char* [], string & localedir) lpath.push_back (bundle_dir); lpath.push_back ("Resources"); lpath.push_back ("locale"); - localedir = strdup (Glib::build_filename (lpath).c_str()); + localedir = Glib::build_filename (lpath).c_str(); } #endif |