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:
@@ -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: real extended command menu so all extended commands can be entered
|
||||||
Gnome: ignore interrupts to avoid infinite loop in gnome library
|
Gnome: ignore interrupts to avoid infinite loop in gnome library
|
||||||
tty: avoid crash displaying quit inventory if inventory was already displayed
|
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
|
winCE: ensure orphaned lockfile is always deleted on single-user handhelds
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1040,6 +1040,9 @@ int n;
|
|||||||
if(nh_US) return nh_US;
|
if(nh_US) return nh_US;
|
||||||
case ATR_BOLD:
|
case ATR_BOLD:
|
||||||
case ATR_BLINK:
|
case ATR_BLINK:
|
||||||
|
#if defined(TERMLIB) && defined(TEXTCOLOR)
|
||||||
|
if (MD) return MD;
|
||||||
|
#endif
|
||||||
return nh_HI;
|
return nh_HI;
|
||||||
case ATR_INVERSE:
|
case ATR_INVERSE:
|
||||||
return MR;
|
return MR;
|
||||||
|
|||||||
Reference in New Issue
Block a user