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

Diff for /src/usr.bin/tmux/format-draw.c between version 1.10 and 1.11

version 1.10, 2019/06/14 15:35:58 version 1.11, 2019/07/01 06:56:00
Line 511 
Line 511 
         u_int                    ocx = os->cx, ocy = os->cy, i, width[TOTAL];          u_int                    ocx = os->cx, ocy = os->cy, i, width[TOTAL];
         u_int                    map[] = { LEFT, LEFT, CENTRE, RIGHT };          u_int                    map[] = { LEFT, LEFT, CENTRE, RIGHT };
         int                      focus_start = -1, focus_end = -1;          int                      focus_start = -1, focus_end = -1;
         int                      list_state = -1;          int                      list_state = -1, fill = -1;
         enum style_align         list_align = STYLE_ALIGN_DEFAULT;          enum style_align         list_align = STYLE_ALIGN_DEFAULT;
           struct grid_cell         gc;
         struct style             sy;          struct style             sy;
         struct utf8_data        *ud = &sy.gc.data;          struct utf8_data        *ud = &sy.gc.data;
         const char              *cp, *end;          const char              *cp, *end;
Line 590 
Line 591 
                     style_tostring(&sy));                      style_tostring(&sy));
                 free(tmp);                  free(tmp);
   
                   /* If this style has a fill colour, store it for later. */
                   if (sy.fill != 8)
                           fill = sy.fill;
   
                 /* Check the list state. */                  /* Check the list state. */
                 switch (sy.list) {                  switch (sy.list) {
                 case STYLE_LIST_ON:                  case STYLE_LIST_ON:
Line 709 
Line 714 
         TAILQ_FOREACH(fr, &frs, entry) {          TAILQ_FOREACH(fr, &frs, entry) {
                 log_debug("%s: range %d|%u is %s %u-%u", __func__, fr->type,                  log_debug("%s: range %d|%u is %s %u-%u", __func__, fr->type,
                     fr->argument, names[fr->index], fr->start, fr->end);                      fr->argument, names[fr->index], fr->start, fr->end);
           }
   
           /* Clear the available area. */
           if (fill != -1) {
                   memcpy(&gc, &grid_default_cell, sizeof gc);
                   gc.bg = fill;
                   for (i = 0; i < available; i++)
                           screen_write_putc(octx, &gc, ' ');
         }          }
   
         /*          /*

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