diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 16:39:46 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 16:39:46 +0100 |
commit | 3a6d82b7c8d4254fa87959d8cf19b313f5e05480 (patch) | |
tree | 8a9017893248fb45ad0d6eae473245f1b8a73bfb /cmd-refresh-client.c | |
parent | 0c84a20d2f44db64057f806c270ab1d751030fc1 (diff) | |
download | rtmux-3a6d82b7c8d4254fa87959d8cf19b313f5e05480.tar.gz rtmux-3a6d82b7c8d4254fa87959d8cf19b313f5e05480.tar.bz2 rtmux-3a6d82b7c8d4254fa87959d8cf19b313f5e05480.zip |
Some style nits.
Diffstat (limited to 'cmd-refresh-client.c')
-rw-r--r-- | cmd-refresh-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-refresh-client.c b/cmd-refresh-client.c index b2665ad9..6b947280 100644 --- a/cmd-refresh-client.c +++ b/cmd-refresh-client.c @@ -185,7 +185,7 @@ cmd_refresh_client_clipboard(struct cmd *self, struct cmdq_item *item) } if (i != tc->clipboard_npanes) return (CMD_RETURN_NORMAL); - tc->clipboard_panes = xreallocarray (tc->clipboard_panes, + tc->clipboard_panes = xreallocarray(tc->clipboard_panes, tc->clipboard_npanes + 1, sizeof *tc->clipboard_panes); tc->clipboard_panes[tc->clipboard_npanes++] = fs.wp->id; } |