[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.60 and 1.61

version 1.60, 2010/06/29 05:24:49 version 1.61, 2010/07/22 21:10:51
Line 171 
Line 171 
         data->searchstr = NULL;          data->searchstr = NULL;
   
         wp->flags |= PANE_FREEZE;          wp->flags |= PANE_FREEZE;
         bufferevent_disable(wp->event, EV_READ|EV_WRITE);          if (wp->fd != -1)
                   bufferevent_disable(wp->event, EV_READ|EV_WRITE);
   
         data->jumptype = WINDOW_COPY_OFF;          data->jumptype = WINDOW_COPY_OFF;
         data->jumpchar = '\0';          data->jumpchar = '\0';
Line 234 
Line 235 
         struct window_copy_mode_data    *data = wp->modedata;          struct window_copy_mode_data    *data = wp->modedata;
   
         wp->flags &= ~PANE_FREEZE;          wp->flags &= ~PANE_FREEZE;
         bufferevent_enable(wp->event, EV_READ|EV_WRITE);          if (wp->fd != -1)
                   bufferevent_enable(wp->event, EV_READ|EV_WRITE);
   
         if (data->searchstr != NULL)          if (data->searchstr != NULL)
                 xfree(data->searchstr);                  xfree(data->searchstr);

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61