From 91f86ec3447c4c0c4e3b7533242b52a9ae5fd906 Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Thu, 26 Nov 2020 17:37:50 -0800 Subject: [PATCH] In the default preferences, use the keys, FontName-0 and FontSize-0, since those, rather than FontName and FontSize, are what are examined to get the name and sie of the font for the main window. --- src/main-cocoa.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main-cocoa.m b/src/main-cocoa.m index 668300c2c..83532dc87 100644 --- a/src/main-cocoa.m +++ b/src/main-cocoa.m @@ -5562,11 +5562,11 @@ static void load_prefs(void) NSDictionary *defaults = [[NSDictionary alloc] initWithObjectsAndKeys: #ifdef JP - @"Osaka", @"FontName", + @"Osaka", @"FontName-0", #else - @"Menlo", @"FontName", + @"Menlo", @"FontName-0", #endif - [NSNumber numberWithFloat:13.f], @"FontSize", + [NSNumber numberWithFloat:13.f], @"FontSize-0", [NSNumber numberWithInt:60], AngbandFrameRateDefaultsKey, [NSNumber numberWithBool:YES], AngbandSoundDefaultsKey, [NSNumber numberWithInt:GRAPHICS_NONE], AngbandGraphicsDefaultsKey, -- 2.11.0