diff options
author | David Robillard <d@drobilla.net> | 2011-11-25 07:00:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-25 07:00:38 +0000 |
commit | 7d019ef3ca1396e62049987b099c5c99616fb492 (patch) | |
tree | 0d98867ddb8787df75e0e5c836ce08a50ff99fa0 /src/main.cpp | |
parent | a0d6e0d2ff7abdcfcd78d4002f2dc42f4cde82ed (diff) | |
download | patchage-7d019ef3ca1396e62049987b099c5c99616fb492.tar.gz patchage-7d019ef3ca1396e62049987b099c5c99616fb492.tar.bz2 patchage-7d019ef3ca1396e62049987b099c5c99616fb492.zip |
Fix Mac bundle environment stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3628 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files 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"; |