From 6b525b84bb79f295a0af9ac3ddb4ee60c0912eeb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 25 Oct 2013 09:10:50 +0200 Subject: cocoa: fix opening quarantined files on 10.9 with the bundle [2] Fixup commit for bbc146927 --- osdep/macosx_application.m | 4 ++-- 1 file 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 -- cgit v1.2.3