mirror of
https://github.com/tmux/tmux.git
synced 2025-04-17 09:18:48 +00:00
A couple of style nits.
This commit is contained in:
parent
6c10fc659a
commit
82326dcbe2
3
format.c
3
format.c
@ -218,8 +218,7 @@ format_job_get(struct format_tree *ft, const char *cmd)
|
|||||||
struct format_job fj0, *fj;
|
struct format_job fj0, *fj;
|
||||||
|
|
||||||
fj0.cmd = cmd;
|
fj0.cmd = cmd;
|
||||||
if ((fj = RB_FIND(format_job_tree, &format_jobs, &fj0)) == NULL)
|
if ((fj = RB_FIND(format_job_tree, &format_jobs, &fj0)) == NULL) {
|
||||||
{
|
|
||||||
fj = xcalloc(1, sizeof *fj);
|
fj = xcalloc(1, sizeof *fj);
|
||||||
fj->cmd = xstrdup(cmd);
|
fj->cmd = xstrdup(cmd);
|
||||||
fj->status = ft->status;
|
fj->status = ft->status;
|
||||||
|
Loading…
Reference in New Issue
Block a user