From 7d019ef3ca1396e62049987b099c5c99616fb492 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 25 Nov 2011 07:00:38 +0000 Subject: Fix Mac bundle environment stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3628 a436a847-0d15-0410-975c-d299462d15a1 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2bbf322..750cb30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,8 +49,8 @@ set_bundle_environment() const std::string pangorc_path(bundle_path + "/Resources/pangorc"); setenv("PANGO_RC_FILE", pangorc_path.c_str(), 1); - const std::string pangorc_path(bundle_path + "/Resources/fonts.conf"); - setenv("FONTCONFIG_FILE", pangorc_path.c_str(), 1); + const std::string fonts_conf_path(bundle_path + "/Resources/fonts.conf"); + setenv("FONTCONFIG_FILE", fonts_conf_path.c_str(), 1); const char* path_c = getenv("PATH"); std::string path = "/opt/local/bin"; -- cgit v1.2.1