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

Diff for /src/usr.bin/tmux/screen.c between version 1.45 and 1.46

version 1.45, 2016/11/24 13:38:44 version 1.46, 2017/02/08 16:45:18
Line 40 
Line 40 
         s->ccolour = xstrdup("");          s->ccolour = xstrdup("");
         s->tabs = NULL;          s->tabs = NULL;
   
         s->dirty = NULL;  
         s->dirtysize = 0;  
   
         screen_reinit(s);          screen_reinit(s);
 }  }
   
Line 69 
Line 66 
 void  void
 screen_free(struct screen *s)  screen_free(struct screen *s)
 {  {
         free(s->dirty);  
         free(s->tabs);          free(s->tabs);
         free(s->title);          free(s->title);
         free(s->ccolour);          free(s->ccolour);
Line 358 
Line 354 
                                 xx = sel->sx - 1;                                  xx = sel->sx - 1;
                         else                          else
                                 xx = sel->sx;                                  xx = sel->sx;
                         if (py == sel->sy && px > xx)                          if (py == sel->sy && (sel->sx == 0 || px > xx))
                                 return (0);                                  return (0);
                 } else {                  } else {
                         /* starting line == ending line. */                          /* starting line == ending line. */

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46