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:
7e95f0d
)
Since the user repsonse to the alert dialogs is not used, don't bother storing it.
author
Eric Branlund
<ebranlund@fastmail.com>
Wed, 26 Feb 2020 06:10:45 +0000
(22:10 -0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Wed, 26 Feb 2020 06:10:45 +0000
(22:10 -0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
b3564e7
..
451ae3f
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-2800,7
+2800,7
@@
static errr Term_xtra_cocoa_react(void)
alert.messageText = msg;
alert.informativeText = info;
-
NSModalResponse result =
[alert runModal];
+ [alert runModal];
}
}
@@
-3911,7
+3911,7
@@
static void hook_plog(const char * str)
alert.messageText = msg;
alert.informativeText = info;
-
NSModalResponse result =
[alert runModal];
+ [alert runModal];
}
}
@@
-3965,7
+3965,7
@@
static NSString* get_lib_directory(void)
alert.messageText = msg;
alert.informativeText = info;
[alert addButtonWithTitle:quit_label];
-
NSModalResponse result =
[alert runModal];
+ [alert runModal];
exit( 0 );
}