mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +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));
|
||||
if (args_has(self->args, 'p'))
|
||||
cmdq_print(item, "%s", msg);
|
||||
else {
|
||||
if (c != NULL)
|
||||
status_message_set(c, "%s", msg);
|
||||
}
|
||||
else if (c != NULL)
|
||||
status_message_set(c, "%s", msg);
|
||||
free(msg);
|
||||
|
||||
format_free(ft);
|
||||
|
Loading…
Reference in New Issue
Block a user