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

Diff for /src/usr.bin/tmux/cmd-new-session.c between version 1.117 and 1.118

version 1.117, 2019/04/26 11:38:51 version 1.118, 2019/05/17 05:47:31
Line 192 
Line 192 
                 if (strcmp(tmp, "-") == 0) {                  if (strcmp(tmp, "-") == 0) {
                         if (c != NULL)                          if (c != NULL)
                                 dsx = c->tty.sx;                                  dsx = c->tty.sx;
                           else
                                   dsx = 80;
                 } else {                  } else {
                         dsx = strtonum(tmp, 1, USHRT_MAX, &errstr);                          dsx = strtonum(tmp, 1, USHRT_MAX, &errstr);
                         if (errstr != NULL) {                          if (errstr != NULL) {
Line 205 
Line 207 
                 if (strcmp(tmp, "-") == 0) {                  if (strcmp(tmp, "-") == 0) {
                         if (c != NULL)                          if (c != NULL)
                                 dsy = c->tty.sy;                                  dsy = c->tty.sy;
                           else
                                   dsy = 24;
                 } else {                  } else {
                         dsy = strtonum(tmp, 1, USHRT_MAX, &errstr);                          dsy = strtonum(tmp, 1, USHRT_MAX, &errstr);
                         if (errstr != NULL) {                          if (errstr != NULL) {

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.118