From 6e7d84045e274f26479ade3604b381c381e477dc Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Wed, 16 Jan 2002 19:54:38 +0000 Subject: [PATCH] Minor tweaks --- estr.c | 6 +++++- list.c | 6 ++++++ ui.h | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) 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 -- 2.39.2