[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.5 and 1.6

version 1.5, 2009/08/03 14:10:54 version 1.6, 2009/08/03 15:30:16
Line 196 
Line 196 
                                 case TTYCODE_NONE:                                  case TTYCODE_NONE:
                                         break;                                          break;
                                 case TTYCODE_STRING:                                  case TTYCODE_STRING:
                                         xfree(code->value.string);                                          if (code->type == TTYCODE_STRING)
                                                   xfree(code->value.string);
                                         code->value.string = xstrdup(val);                                          code->value.string = xstrdup(val);
                                         code->type = ent->type;                                          code->type = ent->type;
                                         break;                                          break;

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