diff options
-rw-r--r-- | crawl-ref/source/libunix.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/version.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 7b4884cb04..02b8d0d8f5 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; } diff --git a/crawl-ref/source/version.h b/crawl-ref/source/version.h index 1b28d66e62..a2a0842ee6 100644 --- a/crawl-ref/source/version.h +++ b/crawl-ref/source/version.h @@ -41,7 +41,7 @@ /* *********************************************************************** * called from: chardump - command - newgame * *********************************************************************** */ -#define VERSION "0.1.5 (crawl-ref)" +#define VERSION "0.1.6 (crawl-ref)" // last updated 20feb2001 {GDL} /* *********************************************************************** |