diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-10-25 09:10:50 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-10-25 09:10:50 +0200 |
commit | 96432241bde0bf61a193bbc0503a6a6955179f69 (patch) | |
tree | 8a98d7ef84545da2ba9b86dc4496bf8e6b811d7f /osdep | |
parent | 60aea74f4483661e34b12571add07f8e5e136660 (diff) | |
download | mpv-96432241bde0bf61a193bbc0503a6a6955179f69.tar.bz2 mpv-96432241bde0bf61a193bbc0503a6a6955179f69.tar.xz |
cocoa: fix opening quarantined files on 10.9 with the bundle [2]
Fixup commit for bbc146927
Diffstat (limited to 'osdep')
-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 |