]> granicus.if.org Git - nethack/commitdiff
Long ago we received a bug report complaining that
authornethack.allison <nethack.allison>
Thu, 12 Jun 2003 03:28:39 +0000 (03:28 +0000)
committernethack.allison <nethack.allison>
Thu, 12 Jun 2003 03:28:39 +0000 (03:28 +0000)
hilite_pet on Win32 (tty) wasn't respecting
the setting of "use_inverse" (plain "inverse" at the
time I think).

In response, we made it respect the setting.  The
"use_inverse" setting is off by default however,
so we've now had about three complaints about
hilite_pet not working.

So I'm changing the default value for win32 tty
to having "use_inverse" set to TRUE.
They can still override it in the config file
that way.

src/options.c

index 945e1158837ad8d237cee8c9efc42d7ca58f9b1c..707302b0071b82534726d0fabd9307d5b26a35e9 100644 (file)
@@ -186,7 +186,11 @@ static struct Bool_Opt
        {"tombstone",&flags.tombstone, TRUE, SET_IN_GAME},
        {"toptenwin",&flags.toptenwin, FALSE, SET_IN_GAME},
        {"travel", &flags.travelcmd, TRUE, SET_IN_GAME},
+#ifdef WIN32CON
+       {"use_inverse",   &iflags.wc_inverse, TRUE, SET_IN_GAME},               /*WC*/
+#else
        {"use_inverse",   &iflags.wc_inverse, FALSE, SET_IN_GAME},              /*WC*/
+#endif
        {"verbose", &flags.verbose, TRUE, SET_IN_GAME},
        {(char *)0, (boolean *)0, FALSE, 0}
 };