X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=list.c;h=62159522a74368d295f03f681d51193f2bfbeadf;hb=8e362f5a1e900ad2cd11192436b5182e8b0e6ef6;hp=d3a53c36f423c50b49e757145e8014a7727cbf8b;hpb=fe6b3612a0ddda13d974f7d71e3ab240466ddab5;p=pkg%2Fabook.git diff --git a/list.c b/list.c index d3a53c3..6215952 100644 --- a/list.c +++ b/list.c @@ -155,17 +155,15 @@ print_list_line(int i, int line, int highlight) void list_headerline() { -#ifdef A_BOLD +#if defined(A_BOLD) && defined(A_NORMAL) 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 +#if defined(A_BOLD) && defined(A_NORMAL) attrset(A_NORMAL); #endif }