- if( (item = find_item(findstr, curitem + !!next,
- search_fields )) >= 0 ) {
+ if( (item = find_item(findstr, curitem + !!next, search_fields)) < 0 &&
+ (item = find_item(findstr, 0, search_fields)) >= 0)
+ statusline_addstr(_("Search hit bottom, continuing at top"));
+
+ if(item >= 0) {