[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.22 and 1.23

version 1.22, 2009/07/30 20:41:48 version 1.23, 2009/08/05 16:26:38
Line 64 
Line 64 
         if (gettimeofday(&c->status_timer, NULL) != 0)          if (gettimeofday(&c->status_timer, NULL) != 0)
                 fatal("gettimeofday");                  fatal("gettimeofday");
         memcpy(&stdgc, &grid_default_cell, sizeof gc);          memcpy(&stdgc, &grid_default_cell, sizeof gc);
         stdgc.bg = options_get_number(&s->options, "status-fg");          stdgc.fg = options_get_number(&s->options, "status-fg");
         stdgc.fg = options_get_number(&s->options, "status-bg");          stdgc.bg = options_get_number(&s->options, "status-bg");
         stdgc.attr |= options_get_number(&s->options, "status-attr");          stdgc.attr |= options_get_number(&s->options, "status-attr");
   
         yy = c->tty.sy - 1;          yy = c->tty.sy - 1;
Line 563 
Line 563 
                 len = c->tty.sx;                  len = c->tty.sx;
   
         memcpy(&gc, &grid_default_cell, sizeof gc);          memcpy(&gc, &grid_default_cell, sizeof gc);
         gc.bg = options_get_number(&s->options, "message-fg");          gc.fg = options_get_number(&s->options, "message-fg");
         gc.fg = options_get_number(&s->options, "message-bg");          gc.bg = options_get_number(&s->options, "message-bg");
         gc.attr |= options_get_number(&s->options, "message-attr");          gc.attr |= options_get_number(&s->options, "message-attr");
   
         screen_write_start(&ctx, NULL, &c->status);          screen_write_start(&ctx, NULL, &c->status);
Line 662 
Line 662 
                 len = c->tty.sx;                  len = c->tty.sx;
   
         memcpy(&gc, &grid_default_cell, sizeof gc);          memcpy(&gc, &grid_default_cell, sizeof gc);
         gc.bg = options_get_number(&s->options, "message-fg");          gc.fg = options_get_number(&s->options, "message-fg");
         gc.fg = options_get_number(&s->options, "message-bg");          gc.bg = options_get_number(&s->options, "message-bg");
         gc.attr |= options_get_number(&s->options, "message-attr");          gc.attr |= options_get_number(&s->options, "message-attr");
   
         screen_write_start(&ctx, NULL, &c->status);          screen_write_start(&ctx, NULL, &c->status);

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23