diff options
author | nicm <nicm> | 2013-10-10 12:01:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2013-10-10 12:01:14 +0000 |
commit | 1b7c2dd056f4e41f0cec38c1b8ed5531f7281e33 (patch) | |
tree | 765753082b2d79ddc5e521bb84987c5193c0f02f | |
parent | d45c12b6c9405da549197c2852ac124fc0d5b340 (diff) | |
download | rtmux-1b7c2dd056f4e41f0cec38c1b8ed5531f7281e33.tar.gz rtmux-1b7c2dd056f4e41f0cec38c1b8ed5531f7281e33.tar.bz2 rtmux-1b7c2dd056f4e41f0cec38c1b8ed5531f7281e33.zip |
Trivial style and spacing nits.
-rw-r--r-- | cmd-display-message.c | 7 | ||||
-rw-r--r-- | grid.c | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/cmd-display-message.c b/cmd-display-message.c index 52d47a4c..b60d732a 100644 --- a/cmd-display-message.c +++ b/cmd-display-message.c @@ -36,7 +36,6 @@ const struct cmd_entry cmd_display_message_entry = { " [message]", 0, NULL, - NULL, cmd_display_message_exec }; @@ -71,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')) { @@ -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; |