B01001 - bold menu_heading support

Not really a bug, but when TEXTCOLOR is defined, wintty can display menu
headings is bold upon request, but didn't.
This commit is contained in:
cohrs
2003-11-10 00:15:47 +00:00
parent 8212618221
commit 800baf8771
2 changed files with 4 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ Gnome: key values on unsigned char platform could fail to compare correctly
Gnome: real extended command menu so all extended commands can be entered
Gnome: ignore interrupts to avoid infinite loop in gnome library
tty: avoid crash displaying quit inventory if inventory was already displayed
tty: use "bold" in menu heading if available and requested
winCE: ensure orphaned lockfile is always deleted on single-user handhelds

View File

@@ -1040,6 +1040,9 @@ int n;
if(nh_US) return nh_US;
case ATR_BOLD:
case ATR_BLINK:
#if defined(TERMLIB) && defined(TEXTCOLOR)
if (MD) return MD;
#endif
return nh_HI;
case ATR_INVERSE:
return MR;