]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
All three are specified in the XSI Curses standard, but if we check for
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index 5603d4cc0e433ee61b07efda47277840c5fa1ff4..1923138da1d45ac9d44637cd6a986bd128a54c76 100644 (file)
--- 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;