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:
5a9a9e9
)
Changed where init_graphics_modes() is called to align with Angband 4.2.
author
Eric Branlund
<ebranlund@fastmail.com>
Fri, 24 Jan 2020 18:18:22 +0000
(10:18 -0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Fri, 24 Jan 2020 18:18:22 +0000
(10:18 -0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
de0d1d4
..
17a55ba
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-1368,6
+1368,9
@@
static size_t Term_mbcs_cocoa(wchar_t *dest, const char *src, int n)
/* Load preferences */
load_prefs();
+ /* Load possible graphics modes */
+ init_graphics_modes();
+
/* Prepare the windows */
init_windows();
@@
-1380,9
+1383,6
@@
static size_t Term_mbcs_cocoa(wchar_t *dest, const char *src, int n)
/* Initialise game */
init_angband();
- /* This is not incorporated into Hengband's init_angband() yet. */
- init_graphics_modes();
-
/* Initialize some save file stuff */
player_egid = getegid();