summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tmux/input.c4
-rw-r--r--usr.bin/tmux/screen-write.c8
-rw-r--r--usr.bin/tmux/tmux.c4
-rw-r--r--usr.bin/tmux/tty-term.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 8ff96327e74..853a390a6bd 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.105 2016/10/13 20:27:27 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.106 2016/12/09 21:39:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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;
}
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c
index ca86479e07b..fca9f91d484 100644
--- a/usr.bin/tmux/screen-write.c
+++ b/usr.bin/tmux/screen-write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-write.c,v 1.100 2016/10/18 08:39:18 nicm Exp $ */
+/* $OpenBSD: screen-write.c,v 1.101 2016/12/09 21:39:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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)
{
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index 53dee059c31..eb0091045ed 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.172 2016/10/11 13:21:59 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.173 2016/12/09 21:39:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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) {
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index dab12ab4be2..249d577c7eb 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.46 2016/10/10 21:29:23 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.47 2016/12/09 21:39:27 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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. */