]> granicus.if.org Git - nethack/commitdiff
update a parameter in some ancient platforms
authornhmall <nhmall@nethack.org>
Thu, 27 Feb 2020 02:53:07 +0000 (21:53 -0500)
committernhmall <nhmall@nethack.org>
Thu, 27 Feb 2020 02:53:07 +0000 (21:53 -0500)
sys/wince/mswproc.c
win/gem/wingem.c
win/gnome/gnbind.c

index 2aac97efcfbb80b7fdf57654e6449d0527cede63..934ad913b649b32dcadc15de94bec24d1f7c1281 100644 (file)
@@ -165,7 +165,7 @@ mswin_init_nhwindows(int *argc, char **argv)
 
     /* set tile-related options to readonly */
     set_wc_option_mod_status(WC_TILE_WIDTH | WC_TILE_HEIGHT | WC_TILE_FILE,
-                             DISP_IN_GAME);
+                             set_gameview);
 
     /* init color table */
     mswin_init_color_table();
index 547613b69a31e172f23482a72822e21ad0ad47c7..0e32efc7f2ee72799e454a909cc35ef1245ba5c2 100644 (file)
@@ -153,7 +153,7 @@ char **argv;
     set_wc_option_mod_status(WC_ALIGN_MESSAGE | WC_ALIGN_STATUS
                                  | WC_TILE_WIDTH | WC_TILE_HEIGHT
                                  | WC_TILE_FILE,
-                             DISP_IN_GAME);
+                             set_gameview);
     set_wc_option_mod_status(
         WC_HILITE_PET | WC_SCROLL_MARGIN | WC_FONT_MESSAGE | WC_FONT_MAP
             | WC_FONT_STATUS | WC_FONT_MENU | WC_FONT_TEXT
index 872576bf06420095bf3009bcefae61bfc37c363a..b0a8dd77233c8ee13df375c4a16d7807008a91b1 100644 (file)
@@ -82,7 +82,7 @@ gnome_init_nhwindows(int *argc, char **argv)
 #endif
 
     // gnome/gtk is not reentrant
-    set_option_mod_status("ignintr", DISP_IN_GAME);
+    set_option_mod_status("ignintr", set_gameview);
     flags.ignintr = TRUE;
 
     iflags.window_inited = TRUE;