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

Diff for /src/usr.bin/tmux/server.c between version 1.11 and 1.12

version 1.11, 2009/07/19 13:21:40 version 1.12, 2009/07/20 14:37:51
Line 579 
Line 579 
 {  {
         struct screen_write_ctx ctx;          struct screen_write_ctx ctx;
         struct screen           screen;          struct screen           screen;
           struct grid_cell        gc;
         u_int                   colour, xx, yy, i;          u_int                   colour, xx, yy, i;
         int                     style;          int                     style;
   
Line 589 
Line 590 
         colour = options_get_number(&global_w_options, "clock-mode-colour");          colour = options_get_number(&global_w_options, "clock-mode-colour");
         style = options_get_number(&global_w_options, "clock-mode-style");          style = options_get_number(&global_w_options, "clock-mode-style");
   
           memcpy(&gc, &grid_default_cell, sizeof gc);
           gc.fg = colour;
           gc.attr |= GRID_ATTR_BRIGHT;
   
         screen_init(&screen, xx, yy, 0);          screen_init(&screen, xx, yy, 0);
   
         screen_write_start(&ctx, NULL, &screen);          screen_write_start(&ctx, NULL, &screen);
         clock_draw(&ctx, colour, style);          clock_draw(&ctx, colour, style);
   
           if (password_failures != 0) {
                   screen_write_cursormove(&ctx, 0, 0);
                   screen_write_puts(
                       &ctx, &gc, "%u failed attempts", password_failures);
           }
   
         screen_write_stop(&ctx);          screen_write_stop(&ctx);
   
         for (i = 0; i < screen_size_y(&screen); i++)          for (i = 0; i < screen_size_y(&screen); i++)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12