summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/libunix.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 7b4884cb04..ef1312caa3 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -441,7 +441,9 @@ void textcolor(int col)
if ((brand & CHATTR_ATTRMASK) == CHATTR_HILITE)
{
- bg = (brand & CHATTR_COLMASK) >> 8;
+ bg = translate_colour(
+ macro_colour( (brand & CHATTR_COLMASK) >> 8 ));
+
if (fg == bg)
fg = COLOR_BLACK;
}