- if(e_alternative_str && *e_alternative_str) {
- for(i = 0; i < ITEM_FIELDS; i++) {
- if(!strcasecmp(e_alternative_str,
- abook_fields[i].key)) {
- extra_alternative = i;
- break;
- }
- }
- if(extra_alternative < MIN_EXTRA_COLUMN ||
- extra_alternative > MAX_EXTRA_COLUMN) {
- extra_alternative = -1;
- }
- }
+ return ret;
+}
+
+void
+init_list()
+{
+ list = newwin(LIST_LINES, LIST_COLS, LIST_TOP, 0);
+ scrollok(list, TRUE);
+
+ /*
+ * init extra_column and extra alternative
+ */