diff options
author | 2013-10-10 12:01:14 +0000 | |
---|---|---|
committer | 2013-10-10 12:01:14 +0000 | |
commit | f7b15bf9c48a26b5072e9cc2124318f75b11e60f (patch) | |
tree | 4be4c7077d007b119136428bac331b1ec3708f65 | |
parent | Remove the barely-used and unnecessary command check() function. (diff) | |
download | wireguard-openbsd-f7b15bf9c48a26b5072e9cc2124318f75b11e60f.tar.xz wireguard-openbsd-f7b15bf9c48a26b5072e9cc2124318f75b11e60f.zip |
Trivial style and spacing nits.
-rw-r--r-- | usr.bin/tmux/cmd-display-message.c | 8 | ||||
-rw-r--r-- | usr.bin/tmux/grid.c | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/usr.bin/tmux/cmd-display-message.c b/usr.bin/tmux/cmd-display-message.c index 88cbb9adaaf..8f0432ca360 100644 --- a/usr.bin/tmux/cmd-display-message.c +++ b/usr.bin/tmux/cmd-display-message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-display-message.c,v 1.23 2013/10/10 12:00:19 nicm Exp $ */ +/* $OpenBSD: cmd-display-message.c,v 1.24 2013/10/10 12:01:14 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -70,9 +70,9 @@ cmd_display_message_exec(struct cmd *self, struct cmd_q *cmdq) } if (args_has(args, 'c')) { - c = cmd_find_client(cmdq, args_get(args, 'c'), 0); - if (c == NULL) - return (CMD_RETURN_ERROR); + c = cmd_find_client(cmdq, args_get(args, 'c'), 0); + if (c == NULL) + return (CMD_RETURN_ERROR); } else { c = cmd_current_client(cmdq); if (c == NULL && !args_has(self->args, 'p')) { diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index 9ff18cd1fa6..de76090f3b6 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.30 2013/10/10 11:49:29 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.31 2013/10/10 12:01:14 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -268,8 +268,7 @@ grid_get_cell(struct grid *gd, u_int px, u_int py) /* Set cell at relative position. */ void -grid_set_cell( - struct grid *gd, u_int px, u_int py, const struct grid_cell *gc) +grid_set_cell(struct grid *gd, u_int px, u_int py, const struct grid_cell *gc) { if (grid_check_y(gd, py) != 0) return; @@ -657,8 +656,8 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx, * available. */ void -grid_duplicate_lines( - struct grid *dst, u_int dy, struct grid *src, u_int sy, u_int ny) +grid_duplicate_lines(struct grid *dst, u_int dy, struct grid *src, u_int sy, + u_int ny) { struct grid_line *dstl, *srcl; u_int yy; |