0.5.3
- removed a lefover debug message
- fixed mutt import filter nickname cutoff
+ - wrap searches
0.5.2
- five custom fields added
"you may want to use --add-email-quiet\n");
exit(1);
}
- printf("Add ``%s <%s>'' to %s ? (y/n)\n",
- name,
- email,
- datafile
- );
+
do {
+ printf("Add ``%s <%s>'' to %s ? (y/n)\n",
+ name,
+ email,
+ datafile);
c = fgetc(in);
if(c == 'n' || c == 'N') {
fclose(in);
# Define the identity of the package.
PACKAGE=abook
- VERSION=0.5.2pre
+ VERSION=0.5.2
cat >>confdefs.h <<_ACEOF
dnl abook configure.in
AC_INIT(abook.c)
-AM_INIT_AUTOMAKE(abook, 0.5.2pre)
+AM_INIT_AUTOMAKE(abook, 0.5.2)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST
void
ui_find(int next)
{
- int item;
+ int item = -1;
static char findstr[MAX_FIELD_LEN];
int search_fields[] = {NAME, EMAIL, NICK, -1};
+ clear_statusline();
+
if(next) {
if( !*findstr )
return;
refresh_screen();
}
- if( (item = find_item(findstr, curitem + !!next,
- search_fields )) >= 0 ) {
+ if( (item = find_item(findstr, curitem + !!next, search_fields)) < 0)
+ if((item = find_item(findstr, 0, search_fields)) >= 0)
+ statusline_addstr(
+ "Search hit bottom, continuing at top");
+
+ if(item >= 0) {
curitem = item;
refresh_list();
}
-
}