Long lines and spacing fixes.

This commit is contained in:
nicm 2019-11-28 09:56:25 +00:00
parent c416fe0da4
commit bc5881c4d2
4 changed files with 8 additions and 5 deletions

View File

@ -543,7 +543,8 @@ have_event:
where = STATUS_RIGHT;
break;
case STYLE_RANGE_WINDOW:
wl = winlink_find_by_index(&s->windows, sr->argument);
wl = winlink_find_by_index(&s->windows,
sr->argument);
if (wl == NULL)
return (KEYC_UNKNOWN);
m->w = wl->window->id;

4
tmux.h
View File

@ -1244,8 +1244,8 @@ struct tty_ctx {
const struct grid_cell *cell;
int wrapped;
u_int num;
void *ptr;
u_int num;
void *ptr;
/*
* Cursor and region position before the screen was updated - this is

View File

@ -636,7 +636,8 @@ tty_term_string2(struct tty_term *term, enum tty_code_code code, int a, int b)
}
const char *
tty_term_string3(struct tty_term *term, enum tty_code_code code, int a, int b, int c)
tty_term_string3(struct tty_term *term, enum tty_code_code code, int a, int b,
int c)
{
return (tparm((char *) tty_term_string(term, code), a, b, c));
}

3
tty.c
View File

@ -2454,7 +2454,8 @@ tty_check_bg(struct tty *tty, struct window_pane *wp, struct grid_cell *gc)
}
static void
tty_check_us(__unused struct tty *tty, struct window_pane *wp, struct grid_cell *gc)
tty_check_us(__unused struct tty *tty, struct window_pane *wp,
struct grid_cell *gc)
{
int c;