diff options
author | David Robillard <d@drobilla.net> | 2015-01-10 02:53:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-01-10 02:53:31 +0000 |
commit | ea59b3a8d2887e963b806c5f595f5d4e6460fc55 (patch) | |
tree | 94fcd7b385db257b216854e865e39ed41139295e /src/main.cpp | |
parent | b608165e9162d2d429de47bbc430ecae136d3455 (diff) | |
download | patchage-ea59b3a8d2887e963b806c5f595f5d4e6460fc55.tar.gz patchage-ea59b3a8d2887e963b806c5f595f5d4e6460fc55.tar.bz2 patchage-ea59b3a8d2887e963b806c5f595f5d4e6460fc55.zip |
More Mac integration work.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5511 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 81f7ba5..a83c8ad 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,8 +32,7 @@ void set_bundle_environment() { - const std::string binary = binary_location(); - const std::string bundle = binary.substr(0, binary.find_last_of('/')); + const std::string bundle = bundle_location(); const std::string lib_path = bundle + "/lib"; if (!Glib::file_test(lib_path, Glib::FILE_TEST_EXISTS)) { // If lib does not exist, we have not been bundleified, do nothing |