mirror of
https://github.com/tmux/tmux.git
synced 2025-04-17 01:08:49 +00:00
Style and comment fixes from Tiago Cunha.
This commit is contained in:
parent
66829ee12e
commit
994cb872cf
2
grid.c
2
grid.c
@ -644,7 +644,7 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx,
|
|||||||
if (trim) {
|
if (trim) {
|
||||||
while (off > 0 && buf[off - 1] == ' ')
|
while (off > 0 && buf[off - 1] == ' ')
|
||||||
off--;
|
off--;
|
||||||
}
|
}
|
||||||
buf[off] = '\0';
|
buf[off] = '\0';
|
||||||
|
|
||||||
return (buf);
|
return (buf);
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Option handling; each option has a name, type and value and is stored in
|
* Option handling; each option has a name, type and value and is stored in
|
||||||
* a splay tree.
|
* a red-black tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
RB_GENERATE(options_tree, options_entry, entry, options_cmp);
|
RB_GENERATE(options_tree, options_entry, entry, options_cmp);
|
||||||
|
@ -345,8 +345,7 @@ window_choose_collapse(struct window_pane *wp, struct session *s)
|
|||||||
* assign the actual result we want to render and copy the new one over
|
* assign the actual result we want to render and copy the new one over
|
||||||
* the top of it.
|
* the top of it.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < ARRAY_LENGTH(&data->list); i++)
|
for (i = 0; i < ARRAY_LENGTH(&data->list); i++) {
|
||||||
{
|
|
||||||
item = &ARRAY_ITEM(&data->list, i);
|
item = &ARRAY_ITEM(&data->list, i);
|
||||||
wcd = item->wcd;
|
wcd = item->wcd;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user