mirror of
https://github.com/tmux/tmux.git
synced 2025-04-22 12:28:48 +00:00
Trivial style and spacing nits.
This commit is contained in:
parent
d45c12b6c9
commit
1b7c2dd056
@ -36,7 +36,6 @@ const struct cmd_entry cmd_display_message_entry = {
|
|||||||
" [message]",
|
" [message]",
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
|
||||||
cmd_display_message_exec
|
cmd_display_message_exec
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -71,9 +70,9 @@ cmd_display_message_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (args_has(args, 'c')) {
|
if (args_has(args, 'c')) {
|
||||||
c = cmd_find_client(cmdq, args_get(args, 'c'), 0);
|
c = cmd_find_client(cmdq, args_get(args, 'c'), 0);
|
||||||
if (c == NULL)
|
if (c == NULL)
|
||||||
return (CMD_RETURN_ERROR);
|
return (CMD_RETURN_ERROR);
|
||||||
} else {
|
} else {
|
||||||
c = cmd_current_client(cmdq);
|
c = cmd_current_client(cmdq);
|
||||||
if (c == NULL && !args_has(self->args, 'p')) {
|
if (c == NULL && !args_has(self->args, 'p')) {
|
||||||
|
7
grid.c
7
grid.c
@ -268,8 +268,7 @@ grid_get_cell(struct grid *gd, u_int px, u_int py)
|
|||||||
|
|
||||||
/* Set cell at relative position. */
|
/* Set cell at relative position. */
|
||||||
void
|
void
|
||||||
grid_set_cell(
|
grid_set_cell(struct grid *gd, u_int px, u_int py, const struct grid_cell *gc)
|
||||||
struct grid *gd, u_int px, u_int py, const struct grid_cell *gc)
|
|
||||||
{
|
{
|
||||||
if (grid_check_y(gd, py) != 0)
|
if (grid_check_y(gd, py) != 0)
|
||||||
return;
|
return;
|
||||||
@ -657,8 +656,8 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx,
|
|||||||
* available.
|
* available.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
grid_duplicate_lines(
|
grid_duplicate_lines(struct grid *dst, u_int dy, struct grid *src, u_int sy,
|
||||||
struct grid *dst, u_int dy, struct grid *src, u_int sy, u_int ny)
|
u_int ny)
|
||||||
{
|
{
|
||||||
struct grid_line *dstl, *srcl;
|
struct grid_line *dstl, *srcl;
|
||||||
u_int yy;
|
u_int yy;
|
||||||
|
Loading…
Reference in New Issue
Block a user