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

Diff for /src/usr.bin/tmux/window.c between version 1.170 and 1.171

version 1.170, 2016/10/13 20:27:27 version 1.171, 2016/10/15 09:27:52
Line 293 
Line 293 
 }  }
   
 struct window *  struct window *
 window_create1(u_int sx, u_int sy)  window_create(u_int sx, u_int sy)
 {  {
         struct window   *w;          struct window   *w;
   
Line 323 
Line 323 
 }  }
   
 struct window *  struct window *
 window_create(const char *name, int argc, char **argv, const char *path,  window_create_spawn(const char *name, int argc, char **argv, const char *path,
     const char *shell, const char *cwd, struct environ *env,      const char *shell, const char *cwd, struct environ *env,
     struct termios *tio, u_int sx, u_int sy, u_int hlimit, char **cause)      struct termios *tio, u_int sx, u_int sy, u_int hlimit, char **cause)
 {  {
         struct window           *w;          struct window           *w;
         struct window_pane      *wp;          struct window_pane      *wp;
   
         w = window_create1(sx, sy);          w = window_create(sx, sy);
         wp = window_add_pane(w, NULL, hlimit);          wp = window_add_pane(w, NULL, hlimit);
         layout_init(w, wp);          layout_init(w, wp);
   
         if (window_pane_spawn(wp, argc, argv, path, shell, cwd, env, tio,          if (window_pane_spawn(wp, argc, argv, path, shell, cwd,
             cause) != 0) {              env, tio, cause) != 0) {
                 window_destroy(w);                  window_destroy(w);
                 return (NULL);                  return (NULL);
         }          }

Legend:
Removed from v.1.170  
changed lines
  Added in v.1.171