#include <stdio.h>
#include <string.h>
-#include <assert.h>
#include "abook.h"
+#include <assert.h>
#include "ui.h"
#include "database.h"
#include "edit.h"
EXTRALEN);
scrollok(list, TRUE);
- if(highlight_line)
+ if(highlight)
wstandend(list);
}
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
highlight_line(WINDOW *win, int line)
{
wstandout(win);
-
-#ifdef mvwchgat
+
+ /*
+ * this is a tricky one
+ */
+#if 0
+/*#ifdef mvwchgat*/
mvwchgat(win, line, 0, -1, A_STANDOUT, 0, NULL);
#else
/*