From: Jaakko Heinonen Date: Wed, 16 Jan 2002 19:54:38 +0000 (+0000) Subject: Minor tweaks X-Git-Tag: upstream/0.6.1~2^2~308 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=6e7d84045e274f26479ade3604b381c381e477dc;p=pkg%2Fabook.git Minor tweaks --- diff --git a/estr.c b/estr.c index 2b3a1ef..1939af0 100644 --- a/estr.c +++ b/estr.c @@ -356,8 +356,12 @@ filesel_highlight_line(WINDOW *win, int line) static void filesel_print_list_line(int i, int line) { - if( lst[i].type == FLSL_TYPE_DIR ) + if( lst[i].type == FLSL_TYPE_DIR ) { + mvwaddch(filesel_list, line, 3, 'd'); +#ifdef A_BOLD wattron(filesel_list, A_BOLD); +#endif + } mvwaddnstr(filesel_list, line, 5, lst[i].filename, COLS - 5); } diff --git a/list.c b/list.c index faf3ae8..67c7c3d 100644 --- 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 diff --git a/ui.h b/ui.h index e312abd..5c3cac1 100644 --- a/ui.h +++ b/ui.h @@ -38,5 +38,4 @@ void ui_open_datafile(); #define UI_HLINE_CHAR options_get_int("use_ascii_only") ? \ '-' : ACS_HLINE - #endif