aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/format.c b/format.c
index 1f18828a..fee406f8 100644
--- a/format.c
+++ b/format.c
@@ -4078,8 +4078,7 @@ format_replace(struct format_expand_state *es, const char *key, size_t keylen,
case 's':
if (fm->argc < 2)
break;
- sub = xreallocarray (sub, nsub + 1,
- sizeof *sub);
+ sub = xreallocarray(sub, nsub + 1, sizeof *sub);
sub[nsub++] = fm;
break;
case '=':
@@ -4188,7 +4187,7 @@ format_replace(struct format_expand_state *es, const char *key, size_t keylen,
value = xstrdup("");
else
xasprintf(&value, "%c", c);
- free (new);
+ free(new);
goto done;
}
@@ -4752,7 +4751,7 @@ format_defaults(struct format_tree *ft, struct client *c, struct session *s,
if (wp != NULL)
format_defaults_pane(ft, wp);
- pb = paste_get_top (NULL);
+ pb = paste_get_top(NULL);
if (pb != NULL)
format_defaults_paste_buffer(ft, pb);
}