浏览代码

Cocoa: Update outdated comment

(cherry picked from commit b3544ca43e2fd328aa084f118789c7eeda5869a8)
Camilla Löwy 5 年之前
父节点
当前提交
17d727cd35
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/cocoa_init.m

+ 2 - 3
src/cocoa_init.m

@@ -431,9 +431,8 @@ static GLFWbool initializeTIS(void)
         // 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
-        // finishLaunching below, in order to properly emulate the behavior
-        // of NSApplicationMain
+        // Menu bar setup must go between sharedApplication and finishLaunching
+        // in order to properly emulate the behavior of NSApplicationMain
 
 
         if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"])
         if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"])
         {
         {