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
(parent:
ce33c76
)
Modified so save menu item is disabled while on the splash screen.
author
Eric Branlund
<ebranlund@fastmail.com>
Wed, 29 Jan 2020 09:21:23 +0000
(
01:21
-0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Wed, 29 Jan 2020 16:26:05 +0000
(08:26 -0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
aa67e01
..
f2d3b91
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-4124,7
+4124,8
@@
static void hook_quit(const char * str)
[menuItem setState: ((is_on) ? NSOnState : NSOffState)];
return YES;
}
- else if( sel == @selector(sendAngbandCommand:) )
+ else if( sel == @selector(sendAngbandCommand:) ||
+ sel == @selector(saveGame:) )
{
/* we only want to be able to send commands during an active game */
return !!game_in_progress;