Cocoa: Update outdated comment

From upstream: b3544ca43e.
This commit is contained in:
Luflosi
2019-12-11 22:17:18 +01:00
parent ae27d36902
commit 2804e1ff81

View File

@@ -466,9 +466,8 @@ static GLFWapplicationwillfinishlaunchingfun finish_launching_callback = NULL;
// In case we are unbundled, make us a proper UI application // In case we are unbundled, make us a proper UI application
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
// Menu bar setup must go between sharedApplication above and // Menu bar setup must go between sharedApplication and finishLaunching
// finishLaunching below, in order to properly emulate the behavior // in order to properly emulate the behavior of NSApplicationMain
// of NSApplicationMain
if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"]) if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"])
{ {