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

Diff for /src/usr.bin/tmux/status.c between version 1.167 and 1.168

version 1.167, 2017/05/29 20:41:29 version 1.168, 2017/05/29 20:42:53
Line 677 
Line 677 
   
         ft = format_create(c, NULL, FORMAT_NONE, 0);          ft = format_create(c, NULL, FORMAT_NONE, 0);
         format_defaults(ft, c, NULL, NULL, NULL);          format_defaults(ft, c, NULL, NULL, NULL);
   
         t = time(NULL);          t = time(NULL);
         tmp = format_expand_time(ft, input, t);  
           if (input == NULL)
                   input = "";
           if (flags & PROMPT_NOFORMAT)
                   tmp = xstrdup(input);
           else
                   tmp = format_expand_time(ft, input, t);
   
         status_message_clear(c);          status_message_clear(c);
         status_prompt_clear(c);          status_prompt_clear(c);

Legend:
Removed from v.1.167  
changed lines
  Added in v.1.168