From: Eric Branlund Date: Fri, 24 Jan 2020 18:09:10 +0000 (-0800) Subject: Made some whitespace changes to better match what's in Angband's main-cocoa.m. X-Git-Tag: vmacos2.2.1-7c~42 X-Git-Url: http://git.osdn.net/view?p=hengbandforosx%2Fhengbandosx.git;a=commitdiff_plain;h=5a9a9e9d500ddb30c4f2789a9fc65bddb7f09bd0 Made some whitespace changes to better match what's in Angband's main-cocoa.m. --- diff --git a/src/main-cocoa.m b/src/main-cocoa.m index 9df823fda..de0d1d413 100644 --- a/src/main-cocoa.m +++ b/src/main-cocoa.m @@ -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);