mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Various minor style and spacing nits.
This commit is contained in:
parent
e075198049
commit
4e956d545a
@ -124,14 +124,14 @@ cmdq_guard(struct cmd_q *cmdq, const char *guard, int flags)
|
||||
struct client *c = cmdq->client;
|
||||
|
||||
if (c == NULL)
|
||||
return 0;
|
||||
return (0);
|
||||
if (!(c->flags & CLIENT_CONTROL))
|
||||
return 0;
|
||||
return (0);
|
||||
|
||||
evbuffer_add_printf(c->stdout_data, "%%%s %ld %u %d\n", guard,
|
||||
(long) cmdq->time, cmdq->number, flags);
|
||||
server_push_stdout(c);
|
||||
return 1;
|
||||
return (1);
|
||||
}
|
||||
|
||||
/* Add command list to queue and begin processing if needed. */
|
||||
|
@ -254,7 +254,7 @@ cmd_set_option_user(struct cmd *self, struct cmd_q *cmdq, const char* optstr,
|
||||
if (args_has(args, 'o') && options_find1(oo, optstr) != NULL) {
|
||||
if (!args_has(args, 'q')) {
|
||||
cmdq_error(cmdq, "already set: %s", optstr);
|
||||
return CMD_RETURN_ERROR;
|
||||
return (CMD_RETURN_ERROR);
|
||||
}
|
||||
return (CMD_RETURN_NORMAL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user