From: Cedric Duval Date: Tue, 27 Sep 2005 16:50:04 +0000 (+0000) Subject: All three are specified in the XSI Curses standard, but if we check for X-Git-Tag: upstream/0.6.1~2^2~145 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=0f71d26e346631862bc00473662e674df3faa57f;p=pkg%2Fabook.git All three are specified in the XSI Curses standard, but if we check for A_BOLD and A_NORMAL, it doesn't hurt to also check for A_DIM. --- diff --git a/ui.c b/ui.c index 5603d4c..1923138 100644 --- a/ui.c +++ b/ui.c @@ -237,7 +237,7 @@ statusline_addstr(const char *str) static void statusline_addhlstr(const char *str) { -#if defined(A_BOLD) && defined(A_NORMAL) +#if defined(A_BOLD) && defined(A_NORMAL) && defined(A_DIM) const char *p = str, *start = str; char *tmp; int pos = 0;