[BACK]Return to window-copy.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/window-copy.c between version 1.319 and 1.320

version 1.319, 2021/03/09 08:24:09 version 1.320, 2021/03/09 13:07:50
Line 3366 
Line 3366 
         cy = screen_hsize(data->backing) - data->oy + data->cy;          cy = screen_hsize(data->backing) - data->oy + data->cy;
         if (window_copy_search_mark_at(data, data->cx, cy, &at) != 0)          if (window_copy_search_mark_at(data, data->cx, cy, &at) != 0)
                 return (NULL);                  return (NULL);
         if (data->searchmark[at] == 0)          if (data->searchmark[at] == 0) {
                 return (NULL);                  /* Allow one position after the match. */
                   if (at == 0 || data->searchmark[--at] == 0)
                           return (NULL);
           }
         window_copy_match_start_end(data, at, &start, &end);          window_copy_match_start_end(data, at, &start, &end);
   
         /*          /*

Legend:
Removed from v.1.319  
changed lines
  Added in v.1.320