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

Diff for /src/usr.bin/tmux/style.c between version 1.24 and 1.25

version 1.24, 2019/09/15 21:42:57 version 1.25, 2020/05/16 14:13:37
Line 26 
Line 26 
 #include "tmux.h"  #include "tmux.h"
   
 /* Mask for bits not included in style. */  /* Mask for bits not included in style. */
 #define STYLE_ATTR_MASK (~GRID_ATTR_CHARSET)  #define STYLE_ATTR_MASK (~0)
   
 /* Default style. */  /* Default style. */
 static struct style style_default = {  static struct style style_default = {
Line 247 
Line 247 
                     colour_tostring(gc->bg));                      colour_tostring(gc->bg));
                 comma = ",";                  comma = ",";
         }          }
         if (gc->attr != 0 && gc->attr != GRID_ATTR_CHARSET) {          if (gc->attr != 0) {
                 xsnprintf(s + off, sizeof s - off, "%s%s", comma,                  xsnprintf(s + off, sizeof s - off, "%s%s", comma,
                     attributes_tostring(gc->attr));                      attributes_tostring(gc->attr));
                 comma = ",";                  comma = ",";

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25