]> git.deb.at Git - pkg/abook.git/blobdiff - list.c
Minor tweaks
[pkg/abook.git] / list.c
diff --git a/list.c b/list.c
index faf3ae80f80a1cd7577e992b90e13518e8413aa4..67c7c3d55d449e423ac32ee846332ca442785284 100644 (file)
--- a/list.c
+++ b/list.c
@@ -155,13 +155,19 @@ print_list_line(int i, int line, int highlight)
 void
 list_headerline()
 {
+#ifdef A_BOLD
        attrset(A_BOLD);
+#else
+       /* hmm, maybe something here */
+#endif
        mvaddstr(2, NAMEPOS, abook_fields[NAME].name);
        mvaddstr(2, EMAILPOS, abook_fields[EMAIL].name);
        if(extra_column > 0)
                mvaddnstr(2, EXTRAPOS, abook_fields[extra_column].name,
                                COLS-EXTRAPOS);
+#ifdef A_BOLD
        attrset(A_NORMAL);
+#endif
 }
 
 void