OSDN Git Service

In the default preferences, use the keys, FontName-0 and FontSize-0, since those...
authorEric Branlund <ebranlund@fastmail.com>
Fri, 27 Nov 2020 01:37:50 +0000 (17:37 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Fri, 27 Nov 2020 01:37:50 +0000 (17:37 -0800)
src/main-cocoa.m

index d8ede50..5d20815 100644 (file)
@@ -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,