[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.33 and 1.34

version 1.33, 2015/01/11 04:14:40 version 1.34, 2015/08/28 17:11:12
Line 31 
Line 31 
 void  void
 screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)  screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
 {  {
         char host[HOST_NAME_MAX+1];  
   
         s->grid = grid_create(sx, sy, hlimit);          s->grid = grid_create(sx, sy, hlimit);
           s->title = xstrdup("");
         if (gethostname(host, sizeof(host)) == 0)  
                 s->title = xstrdup(host);  
         else  
                 s->title = xstrdup("");  
   
         s->cstyle = 0;          s->cstyle = 0;
         s->ccolour = xstrdup("");          s->ccolour = xstrdup("");

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34