[BACK]Return to search.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/search.c between version 1.13 and 1.14

version 1.13, 2015/11/09 16:39:13 version 1.14, 2015/11/21 13:29:12
Line 177 
Line 177 
 prev_pattern(struct pattern_info *info)  prev_pattern(struct pattern_info *info)
 {  {
         if ((info->search_type & SRCH_NO_REGEX) == 0)          if ((info->search_type & SRCH_NO_REGEX) == 0)
                 return (!is_null_pattern(info->compiled));                  return (info->compiled != NULL);
         return (info->text != NULL);          return (info->text != NULL);
 }  }
   

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14