OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8d104a7
)
The setting for big tiles initially shown in the menu wasn't being initialized from...
author
Eric Branlund
<ebranlund@fastmail.com>
Mon, 6 Apr 2020 00:33:28 +0000
(17:33 -0700)
committer
Eric Branlund
<ebranlund@fastmail.com>
Mon, 6 Apr 2020 00:35:48 +0000
(17:35 -0700)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
d9adfb2
..
503b4ff
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-5813,6
+5813,13
@@
static void play_sound(int event)
[menuItem setState: ((is_on) ? NSOnState : NSOffState)];
return YES;
}
+ else if (sel == @selector(toggleWideTiles:)) {
+ BOOL is_on = [[NSUserDefaults standardUserDefaults]
+ boolForKey:AngbandBigTileDefaultsKey];
+
+ [menuItem setState: ((is_on) ? NSOnState : NSOffState)];
+ return YES;
+ }
else if( sel == @selector(sendAngbandCommand:) ||
sel == @selector(saveGame:) )
{