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

Diff for /src/usr.bin/tmux/tty-term.c between version 1.6 and 1.7

version 1.6, 2009/08/03 15:30:16 version 1.7, 2009/08/05 19:05:02
Line 245 
Line 245 
         term->name = xstrdup(name);          term->name = xstrdup(name);
         term->references = 1;          term->references = 1;
         term->flags = 0;          term->flags = 0;
           memset(&term->codes, 0, sizeof term->codes);
         SLIST_INSERT_HEAD(&tty_terms, term, entry);          SLIST_INSERT_HEAD(&tty_terms, term, entry);
   
         /* Set up curses terminal. */          /* Set up curses terminal. */
Line 267 
Line 268 
         }          }
   
         /* Fill in codes. */          /* Fill in codes. */
         memset(&term->codes, 0, sizeof term->codes);  
         for (i = 0; i < NTTYCODE; i++) {          for (i = 0; i < NTTYCODE; i++) {
                 ent = &tty_term_codes[i];                  ent = &tty_term_codes[i];
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7