- 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 = find_item(findstr, curitem + !!next, search_fields)) < 0 &&
+ (item = find_item(findstr, 0, search_fields)) >= 0)
+ statusline_addstr("Search hit bottom, continuing at top");