summaryrefslogtreecommitdiffstats
path: root/window-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 16:39:46 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 16:39:46 +0100
commit3a6d82b7c8d4254fa87959d8cf19b313f5e05480 (patch)
tree8a9017893248fb45ad0d6eae473245f1b8a73bfb /window-buffer.c
parent0c84a20d2f44db64057f806c270ab1d751030fc1 (diff)
Some style nits.
Diffstat (limited to 'window-buffer.c')
-rw-r--r--window-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window-buffer.c b/window-buffer.c
index 07851e75..2f52ee3f 100644
--- a/window-buffer.c
+++ b/window-buffer.c
@@ -308,7 +308,7 @@ window_buffer_get_key(void *modedata, void *itemdata, u_int line)
}
pb = paste_get_name(item->name);
if (pb == NULL)
- return KEYC_NONE;
+ return (KEYC_NONE);
ft = format_create(NULL, NULL, FORMAT_NONE, 0);
format_defaults(ft, NULL, NULL, 0, NULL);
@@ -320,7 +320,7 @@ window_buffer_get_key(void *modedata, void *itemdata, u_int line)
key = key_string_lookup_string(expanded);
free(expanded);
format_free(ft);
- return key;
+ return (key);
}
static struct screen *