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);
}
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