From 9dc979d4146ea9a3c1e6850694877db37ccb0a09 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 23 Jun 2015 07:43:52 +0300 Subject: [PATCH] TTY: Separate hilite_pile option --- win/tty/wintty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 9aebed158..e4c115719 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -3044,7 +3044,8 @@ int glyph, bkglyph; /* must be after color check; term_end_color may turn off inverse too */ if (((special & MG_PET) && iflags.hilite_pet) - || ((special & (MG_DETECT|MG_OBJPILE)) && iflags.use_inverse)) { + || ((special & MG_OBJPILE) && iflags.hilite_pile) + || ((special & MG_DETECT) && iflags.use_inverse)) { term_start_attr(ATR_INVERSE); reverse_on = TRUE; } -- 2.40.0