diff options
Diffstat (limited to 'osdep/macosx_application.m')
-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 c292c1fd53..b03e1731f5 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -429,7 +429,7 @@ static bool bundle_started_from_finder(int argc, char **argv) { bool bundle_detected = [[NSBundle mainBundle] bundleIdentifier]; bool pre_mavericks_args = argc==2 && psn_matches_current_process(argv[1]); - bool post_mavericks_args = argc==0; + bool post_mavericks_args = argc==1; return bundle_detected && (pre_mavericks_args || post_mavericks_args); } |