From 800baf87712aad622d1bad5232d3f7fb2a6852e8 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 10 Nov 2003 00:15:47 +0000 Subject: [PATCH] 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. --- doc/fixes34.3 | 1 + win/tty/termcap.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/fixes34.3 b/doc/fixes34.3 index c2cdc1933..da403c104 100644 --- a/doc/fixes34.3 +++ b/doc/fixes34.3 @@ -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 diff --git a/win/tty/termcap.c b/win/tty/termcap.c index 3484ddf11..d90b81338 100644 --- a/win/tty/termcap.c +++ b/win/tty/termcap.c @@ -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; -- 2.40.0