OSDN Git Service

Load the possible graphics modes before loading the preferences so can appropriately...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 23 Feb 2020 21:59:04 +0000 (13:59 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Sun, 23 Feb 2020 21:59:04 +0000 (13:59 -0800)
src/main-cocoa.m

index 6e930be..6be859f 100644 (file)
@@ -1363,12 +1363,12 @@ static size_t Term_mbcs_cocoa(wchar_t *dest, const char *src, int n)
     /* Note the "system" */
     ANGBAND_SYS = "coc";
 
-    /* Load preferences */
-    load_prefs();
-    
     /* Load possible graphics modes */
     init_graphics_modes();
 
+    /* Load preferences */
+    load_prefs();
+
     /* Prepare the windows */
     init_windows();