diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-10-25 09:10:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-02 19:02:03 +0100 |
commit | 6b525b84bb79f295a0af9ac3ddb4ee60c0912eeb (patch) | |
tree | 2f45b7733c72889fb3e48209593ca1bc5d5fb6ea | |
parent | ea17adcd6609a6a6854f486952f20c0dfd1aab0c (diff) | |
download | mpv-6b525b84bb79f295a0af9ac3ddb4ee60c0912eeb.tar.bz2 mpv-6b525b84bb79f295a0af9ac3ddb4ee60c0912eeb.tar.xz |
cocoa: fix opening quarantined files on 10.9 with the bundle [2]
Fixup commit for bbc146927
-rw-r--r-- | osdep/macosx_application.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index f2ec87a55a..127eacd00d 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -463,8 +463,8 @@ static bool bundle_started_from_finder(int argc, char **argv) bool bundle_detected = [[NSBundle mainBundle] bundleIdentifier]; int major, minor, bugfix; get_system_version(&major, &minor, &bugfix); - bool with_psn = bundle_detected && argc==1; - bool without_psn = bundle_detected && argc==2 && is_psn_argument(argv[1]); + bool without_psn = bundle_detected && argc==1; + bool with_psn = bundle_detected && argc==2 && is_psn_argument(argv[1]); if ((major == 10) && (minor >= 9)) { // Looks like opening quarantined files from the finder inserts the |