[BACK]Return to cmd-capture-pane.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-capture-pane.c between version 1.31 and 1.32

version 1.31, 2015/03/31 17:45:10 version 1.32, 2015/05/08 16:18:04
Line 57 
Line 57 
 cmd_capture_pane_pending(struct args *args, struct window_pane *wp,  cmd_capture_pane_pending(struct args *args, struct window_pane *wp,
     size_t *len)      size_t *len)
 {  {
         char    *buf, *line, tmp[5];          struct evbuffer *pending;
         size_t   linelen;          char            *buf, *line, tmp[5];
         u_int    i;          size_t           linelen;
           u_int            i;
   
         if (wp->ictx.since_ground == NULL)          pending = input_pending(wp);
           if (pending == NULL)
                 return (xstrdup(""));                  return (xstrdup(""));
   
         line = EVBUFFER_DATA(wp->ictx.since_ground);          line = EVBUFFER_DATA(pending);
         linelen = EVBUFFER_LENGTH(wp->ictx.since_ground);          linelen = EVBUFFER_LENGTH(pending);
   
         buf = xstrdup("");          buf = xstrdup("");
         if (args_has(args, 'C')) {          if (args_has(args, 'C')) {

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32