From 92645c8ab16f416dc581d0f9ba801f2672f8d743 Mon Sep 17 00:00:00 2001 From: Michael Buckley Date: Tue, 3 Dec 2019 19:54:18 -0800 Subject: [PATCH] Add title to Mac preferences window --- macosx/Snes9x/AppDelegate.m | 1 + 1 file changed, 1 insertion(+) diff --git a/macosx/Snes9x/AppDelegate.m b/macosx/Snes9x/AppDelegate.m index d7e8e041..40267439 100644 --- a/macosx/Snes9x/AppDelegate.m +++ b/macosx/Snes9x/AppDelegate.m @@ -475,6 +475,7 @@ static NSWindowFrameAutosaveName const kMainWindowIdentifier = @"s9xMainWindow"; if ( self.prefsWindowController == nil ) { NSWindow *prefsWindow = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 100, 100) styleMask:NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskMiniaturizable backing:NSBackingStoreBuffered defer:NO]; + prefsWindow.title = NSLocalizedString(@"Preferences", @""); self.prefsWindowController = [[NSWindowController alloc] initWithWindow:prefsWindow]; prefsWindow.contentViewController = [[S9xPrefsViewController alloc] initWithNibName:@"S9xPrefsViewController" bundle:nil];