A couple of style nits.

This commit is contained in:
nicm 2015-09-03 14:30:23 +00:00
parent 6c10fc659a
commit 82326dcbe2
2 changed files with 2 additions and 4 deletions

View File

@ -218,8 +218,7 @@ format_job_get(struct format_tree *ft, const char *cmd)
struct format_job fj0, *fj;
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->cmd = xstrdup(cmd);
fj->status = ft->status;

3
tmux.c
View File

@ -321,8 +321,7 @@ main(int argc, char **argv)
free(path);
label = xstrdup("default");
}
}
else
} else
label = xstrdup("default");
}