[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.1 and 1.2

version 1.1, 2009/06/01 22:58:49 version 1.2, 2009/07/07 19:49:19
Line 137 
Line 137 
   
         cmd = data->cmd;          cmd = data->cmd;
         if (cmd == NULL)          if (cmd == NULL)
                 cmd = options_get_string(&global_options, "default-command");                  cmd = options_get_string(&global_s_options, "default-command");
         if (c == NULL || c->cwd == NULL)          if (c == NULL || c->cwd == NULL)
                 cwd = options_get_string(&global_options, "default-path");                  cwd = options_get_string(&global_s_options, "default-path");
         else          else
                 cwd = c->cwd;                  cwd = c->cwd;
   
Line 150 
Line 150 
                 sy = c->tty.sy;                  sy = c->tty.sy;
         }          }
   
         if (options_get_number(&global_options, "status")) {          if (options_get_number(&global_s_options, "status")) {
                 if (sy == 0)                  if (sy == 0)
                         sy = 1;                          sy = 1;
                 else                  else

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2