diff options
author | Akemi <der.richter@gmx.de> | 2017-11-11 19:21:21 +0100 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-11-11 19:21:21 +0100 |
commit | 007cd24c2b1b291597531ddbebe5680aecd0c97e (patch) | |
tree | be59384f45058d3835c65137d0f7527b99dfd55c | |
parent | fb1d3caa9ebad2a292463bf5026d38864dad2c8a (diff) | |
download | mpv-007cd24c2b1b291597531ddbebe5680aecd0c97e.tar.bz2 mpv-007cd24c2b1b291597531ddbebe5680aecd0c97e.tar.xz |
osx: fix the bundle $PATH yet again
we have 5 parameters for the string but only 4 were being used.
-rw-r--r-- | osdep/macosx_application.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index 17ccacec56..de2514f1ce 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -263,7 +263,7 @@ static void setup_bundle(int *argc, char *argv[]) NSDictionary *env = [[NSProcessInfo processInfo] environment]; NSString *path_bundle = [env objectForKey:@"PATH"]; - NSString *path_new = [NSString stringWithFormat:@"%@:%@:%@:%@", + NSString *path_new = [NSString stringWithFormat:@"%@:%@:%@:%@:%@", path_bundle, @"/usr/local/bin", @"/usr/local/sbin", |