From 0f71d26e346631862bc00473662e674df3faa57f Mon Sep 17 00:00:00 2001 From: Cedric Duval Date: Tue, 27 Sep 2005 16:50:04 +0000 Subject: [PATCH] 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. --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2