]> granicus.if.org Git - nethack/commitdiff
B01001 - bold menu_heading support
authorcohrs <cohrs>
Mon, 10 Nov 2003 00:15:47 +0000 (00:15 +0000)
committercohrs <cohrs>
Mon, 10 Nov 2003 00:15:47 +0000 (00:15 +0000)
Not really a bug, but when TEXTCOLOR is defined, wintty can display menu
headings is bold upon request, but didn't.

doc/fixes34.3
win/tty/termcap.c

index c2cdc1933a05bf23ae209f4c99c1b5be71b63258..da403c1043ad92906c8d04f43c61439639a36f76 100644 (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
 
 
index 3484ddf1181a0902899a0b9ec9ef8ac34435dc81..d90b8133818c10377ff8b76b33b1f16ab68d064a 100644 (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;