OSDN Git Service

Made some whitespace changes to better match what's in Angband's main-cocoa.m.
authorEric Branlund <ebranlund@fastmail.com>
Fri, 24 Jan 2020 18:09:10 +0000 (10:09 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Fri, 24 Jan 2020 18:09:10 +0000 (10:09 -0800)
src/main-cocoa.m

index 9df823f..de0d1d4 100644 (file)
@@ -2024,6 +2024,7 @@ static void Term_init_cocoa(term *t)
 
     /* Get the window */
     NSWindow *window = [context makePrimaryWindow];
+
     /* Set its title and, for auxiliary terms, tentative size */
     NSString *title = [NSString stringWithCString:angband_term_name[termIdx]
 #ifdef JP
@@ -2300,6 +2301,7 @@ static errr Term_xtra_cocoa_react(void)
             reset_visuals();
         }
     }
+
     [pool drain];
     
     /* Success */
@@ -2547,7 +2549,7 @@ static void Term_xtra_cocoa_fresh(AngbandContext* angbandContext)
        /*
         * Transparency effect. We really want to check
         * current_graphics_mode->alphablend, but as of this writing
-        * that's  never set, so we do something lame.
+        * that's never set, so we do something lame.
         */
        /* alphablend = current_graphics_mode->alphablend */
        alphablend = (graf_width > 8 || graf_height > 8);