mirror of
https://github.com/tmux/tmux.git
synced 2024-12-12 17:38:48 +00:00
Spacing nits.
This commit is contained in:
parent
2a7b4bb017
commit
bee95bf378
2
input.c
2
input.c
@ -780,7 +780,7 @@ input_free(struct window_pane *wp)
|
||||
free(ictx->input_buf);
|
||||
evbuffer_free(ictx->since_ground);
|
||||
|
||||
free (ictx);
|
||||
free(ictx);
|
||||
wp->ictx = NULL;
|
||||
}
|
||||
|
||||
|
@ -516,7 +516,7 @@ screen_write_cursordown(struct screen_write_ctx *ctx, u_int ny)
|
||||
s->cy += ny;
|
||||
}
|
||||
|
||||
/* Cursor right by nx. */
|
||||
/* Cursor right by nx. */
|
||||
void
|
||||
screen_write_cursorright(struct screen_write_ctx *ctx, u_int nx)
|
||||
{
|
||||
@ -839,7 +839,7 @@ screen_write_clearstartofline(struct screen_write_ctx *ctx, u_int bg)
|
||||
tty_write(tty_cmd_clearstartofline, &ttyctx);
|
||||
}
|
||||
|
||||
/* Move cursor to px,py. */
|
||||
/* Move cursor to px,py. */
|
||||
void
|
||||
screen_write_cursormove(struct screen_write_ctx *ctx, u_int px, u_int py)
|
||||
{
|
||||
@ -854,7 +854,7 @@ screen_write_cursormove(struct screen_write_ctx *ctx, u_int px, u_int py)
|
||||
s->cy = py;
|
||||
}
|
||||
|
||||
/* Reverse index (up with scroll). */
|
||||
/* Reverse index (up with scroll). */
|
||||
void
|
||||
screen_write_reverseindex(struct screen_write_ctx *ctx)
|
||||
{
|
||||
|
2
tmux.c
2
tmux.c
@ -321,7 +321,7 @@ main(int argc, char **argv)
|
||||
s = getenv("TMUX");
|
||||
if (s != NULL && *s != '\0' && *s != ',') {
|
||||
path = xstrdup(s);
|
||||
path[strcspn (path, ",")] = '\0';
|
||||
path[strcspn(path, ",")] = '\0';
|
||||
}
|
||||
}
|
||||
if (path == NULL && (path = make_label(label)) == NULL) {
|
||||
|
@ -400,7 +400,7 @@ tty_term_find(char *name, int fd, char **cause)
|
||||
term->name = xstrdup(name);
|
||||
term->references = 1;
|
||||
term->flags = 0;
|
||||
term->codes = xcalloc (tty_term_ncodes(), sizeof *term->codes);
|
||||
term->codes = xcalloc(tty_term_ncodes(), sizeof *term->codes);
|
||||
LIST_INSERT_HEAD(&tty_terms, term, entry);
|
||||
|
||||
/* Set up curses terminal. */
|
||||
|
Loading…
Reference in New Issue
Block a user