mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Style nits.
This commit is contained in:
14
attributes.c
14
attributes.c
@ -32,13 +32,13 @@ attributes_tostring(u_char attr)
|
||||
return ("none");
|
||||
|
||||
len = xsnprintf(buf, sizeof buf, "%s%s%s%s%s%s%s",
|
||||
attr & GRID_ATTR_BRIGHT ? "bright," : "",
|
||||
attr & GRID_ATTR_DIM ? "dim," : "",
|
||||
attr & GRID_ATTR_UNDERSCORE ? "underscore," : "",
|
||||
attr & GRID_ATTR_BLINK ? "blink," : "",
|
||||
attr & GRID_ATTR_REVERSE ? "reverse," : "",
|
||||
attr & GRID_ATTR_HIDDEN ? "hidden," : "",
|
||||
attr & GRID_ATTR_ITALICS ? "italics," : "");
|
||||
(attr & GRID_ATTR_BRIGHT) ? "bright," : "",
|
||||
(attr & GRID_ATTR_DIM) ? "dim," : "",
|
||||
(attr & GRID_ATTR_UNDERSCORE) ? "underscore," : "",
|
||||
(attr & GRID_ATTR_BLINK)? "blink," : "",
|
||||
(attr & GRID_ATTR_REVERSE) ? "reverse," : "",
|
||||
(attr & GRID_ATTR_HIDDEN) ? "hidden," : "",
|
||||
(attr & GRID_ATTR_ITALICS) ? "italics," : "");
|
||||
if (len > 0)
|
||||
buf[len - 1] = '\0';
|
||||
|
||||
|
Reference in New Issue
Block a user