diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-21 23:14:00 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-21 23:14:00 +0000 |
commit | 2a2b48ef66916f3ac7aafb46b83e1e86a6e15cf8 (patch) | |
tree | b6823d2558fc70c421e3d33e4457f873a094a3e4 /libs/ardour/globals.cc | |
parent | c09dc77dfc3a5f0cd6d35b72388a9222e2f2faf3 (diff) |
start passing around the (possibly-bundle-modified) localedir so that we call bindtextdomain() correctly, and thus (hopefully) find message catalogs correctly inside a bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@13965 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 613ecbfc7d..e750792c5f 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -215,7 +215,7 @@ lotsa_files_please () } int -ARDOUR::init (bool use_windows_vst, bool try_optimization) +ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir) { if (!Glib::thread_supported()) { Glib::thread_init(); @@ -224,7 +224,7 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization) // this really should be in PBD::init..if there was one Gio::init (); - (void) bindtextdomain(PACKAGE, LOCALEDIR); + (void) bindtextdomain(PACKAGE, localedir); PBD::ID::init (); SessionEvent::init_event_pool (); |