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:
e273b16
)
Removed AngbandContext's validateMenuItem since it does not host setGraphicsMode...
author
Eric Branlund
<ebranlund@fastmail.com>
Thu, 20 Feb 2020 07:47:35 +0000
(23:47 -0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Thu, 20 Feb 2020 07:47:35 +0000
(23:47 -0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
3b79ef6
..
9f6c27e
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-1504,21
+1504,6
@@
static size_t Term_mbcs_cocoa(wchar_t *dest, const char *src, int n)
}
-- (BOOL)validateMenuItem:(NSMenuItem *)menuItem
-{
- int tag = [menuItem tag];
- SEL sel = [menuItem action];
- if (sel == @selector(setGraphicsMode:))
- {
- [menuItem setState: (tag == graf_mode_req)];
- return YES;
- }
- else
- {
- return YES;
- }
-}
-
- (NSWindow *)makePrimaryWindow
{
if (! primaryWindow)