summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 85b41c4f88..707a4155a7 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -163,10 +163,12 @@ fixup_bundle_environment ()
localedir = strdup (path.c_str());
- /* write a pango.rc file and tell pango to use it */
+ /* write a pango.rc file and tell pango to use it. we'd love
+ to put this into the Ardour.app bundle and leave it there,
+ but the user may not have write permission. so ...
+ */
- path = dir_path;
- path += "/../Resources/pango.rc";
+ path = Glib::build_filename (ARDOUR::get_user_ardour_path(), "pango.rc");
std::ofstream pangorc (path.c_str());
if (!pangorc) {