mirror of
https://github.com/tmux/tmux.git
synced 2025-01-08 08:58:47 +00:00
Remove unnecessary brackets.
This commit is contained in:
parent
1afe71cc0a
commit
9f39652d87
@ -89,10 +89,8 @@ cmd_display_message_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
msg = format_expand_time(ft, template, time(NULL));
|
msg = format_expand_time(ft, template, time(NULL));
|
||||||
if (args_has(self->args, 'p'))
|
if (args_has(self->args, 'p'))
|
||||||
cmdq_print(item, "%s", msg);
|
cmdq_print(item, "%s", msg);
|
||||||
else {
|
else if (c != NULL)
|
||||||
if (c != NULL)
|
status_message_set(c, "%s", msg);
|
||||||
status_message_set(c, "%s", msg);
|
|
||||||
}
|
|
||||||
free(msg);
|
free(msg);
|
||||||
|
|
||||||
format_free(ft);
|
format_free(ft);
|
||||||
|
Loading…
Reference in New Issue
Block a user