]> granicus.if.org Git - nethack/commitdiff
runtime enable statushilites if compiled in
authornhmall <mjnh@persona.ca>
Tue, 2 Jun 2015 20:55:02 +0000 (16:55 -0400)
committernhmall <mjnh@persona.ca>
Tue, 2 Jun 2015 20:55:02 +0000 (16:55 -0400)
 Changes to be committed:
modified:   src/options.c

default to runtime enabled of statushilites if compile time option set

src/options.c

index 53009afe57aec978f1f33882f0f68161bf0d30ac..bc34eee3b265b744a0226c568e0646caa538ab91 100644 (file)
@@ -196,7 +196,11 @@ static struct Bool_Opt {
     { "sparkle", &flags.sparkle, TRUE, SET_IN_GAME },
     { "splash_screen", &iflags.wc_splash_screen, TRUE, DISP_IN_GAME }, /*WC*/
     { "standout", &flags.standout, FALSE, SET_IN_GAME },
-    { "statushilites", &iflags.use_status_hilites, FALSE, SET_IN_GAME },
+#ifdef STATUS_VIA_WINDOWPORT
+#ifdef STATUS_HILITES
+    { "statushilites", &iflags.use_status_hilites, TRUE, SET_IN_GAME },
+#endif
+#endif
     { "tiled_map", &iflags.wc_tiled_map, PREFER_TILED, DISP_IN_GAME }, /*WC*/
     { "time", &flags.time, FALSE, SET_IN_GAME },
 #ifdef TIMED_DELAY