aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-20 17:50:42 +0000
committernicm <nicm>2021-08-20 17:50:42 +0000
commite463e8622dff28394145868a124b10101afc2269 (patch)
tree8594a3d96ee7f41595eb72db991b753d3900f986 /format.c
parent01b13de655cae6cd619bf872d16f82600ff6081e (diff)
downloadrtmux-e463e8622dff28394145868a124b10101afc2269.tar.gz
rtmux-e463e8622dff28394145868a124b10101afc2269.tar.bz2
rtmux-e463e8622dff28394145868a124b10101afc2269.zip
Remove stray spaces after function names.
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 9ef4e6e9..1cf852c5 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);
}