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

Diff for /src/usr.bin/tmux/Attic/server-msg.c between version 1.13 and 1.14

version 1.13, 2009/08/11 21:28:11 version 1.14, 2009/08/13 12:15:45
Line 238 
Line 238 
 server_msg_identify(struct client *c, struct msg_identify_data *data, int fd)  server_msg_identify(struct client *c, struct msg_identify_data *data, int fd)
 {  {
         c->tty.sx = data->sx;          c->tty.sx = data->sx;
           if (c->tty.sx == 0)
                   c->tty.sx = 80;
         c->tty.sy = data->sy;          c->tty.sy = data->sy;
           if (c->tty.sy == 0)
                   c->tty.sy = 25;
   
         c->cwd = NULL;          c->cwd = NULL;
         data->cwd[(sizeof data->cwd) - 1] = '\0';          data->cwd[(sizeof data->cwd) - 1] = '\0';

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14