From: nhmall <mjnh@persona.ca>
Date: Tue, 2 Jun 2015 20:55:02 +0000 (-0400)
Subject: runtime enable statushilites if compiled in
X-Git-Tag: NetHack-3.6.0_RC01~304
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=429ad27a74cde0db3c56f94e22b7c8238a7d0c52;p=nethack

runtime enable statushilites if compiled in
 Changes to be committed:
	modified:   src/options.c

default to runtime enabled of statushilites if compile time option set
---

diff --git a/src/options.c b/src/options.c
index 53009afe5..bc34eee3b 100644
--- a/src/options.c
+++ b/src/options.c
@@ -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