Spacing nits.

This commit is contained in:
nicm 2016-12-09 21:39:27 +00:00
parent 2a7b4bb017
commit bee95bf378
4 changed files with 6 additions and 6 deletions

View File

@ -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;
}

2
tmux.c
View File

@ -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) {

View File

@ -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. */