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

Diff for /src/usr.bin/tmux/window-clock.c between version 1.21 and 1.22

version 1.21, 2016/10/13 20:27:27 version 1.22, 2017/01/07 15:28:13
Line 230 
Line 230 
                         screen_write_cursormove(&ctx, x, y);                          screen_write_cursormove(&ctx, x, y);
   
                         memcpy(&gc, &grid_default_cell, sizeof gc);                          memcpy(&gc, &grid_default_cell, sizeof gc);
                           gc.flags |= GRID_FLAG_NOPALETTE;
                         gc.fg = colour;                          gc.fg = colour;
                         screen_write_puts(&ctx, &gc, "%s", tim);                          screen_write_puts(&ctx, &gc, "%s", tim);
                 }                  }
Line 242 
Line 243 
         y = (screen_size_y(s) / 2) - 3;          y = (screen_size_y(s) / 2) - 3;
   
         memcpy(&gc, &grid_default_cell, sizeof gc);          memcpy(&gc, &grid_default_cell, sizeof gc);
           gc.flags |= GRID_FLAG_NOPALETTE;
         gc.bg = colour;          gc.bg = colour;
         for (ptr = tim; *ptr != '\0'; ptr++) {          for (ptr = tim; *ptr != '\0'; ptr++) {
                 if (*ptr >= '0' && *ptr <= '9')                  if (*ptr >= '0' && *ptr <= '9')

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