diff options
author | nicm <nicm> | 2017-02-22 09:01:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-22 09:01:32 +0000 |
commit | 0414b1fc78c8c47af49ffe6305999df8592be24f (patch) | |
tree | febbfd42c6ab679d34d61da036f1c617c89d85cf | |
parent | 8a0b279c316afc2826630b6d52514b010bc8cc21 (diff) | |
download | rtmux-0414b1fc78c8c47af49ffe6305999df8592be24f.tar.gz rtmux-0414b1fc78c8c47af49ffe6305999df8592be24f.tar.bz2 rtmux-0414b1fc78c8c47af49ffe6305999df8592be24f.zip |
Minor bits: fix an array size, add comment, make grid_cell_entry static.
-rw-r--r-- | grid.c | 2 | ||||
-rw-r--r-- | key-string.c | 2 | ||||
-rw-r--r-- | window.c | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -39,7 +39,7 @@ const struct grid_cell grid_default_cell = { 0, 0, 8, 8, { { ' ' }, 0, 1, 1 } }; -const struct grid_cell_entry grid_default_entry = { +static const struct grid_cell_entry grid_default_entry = { 0, { .data = { 0, 8, 8, ' ' } } }; diff --git a/key-string.c b/key-string.c index b1329c1a..dc09ed98 100644 --- a/key-string.c +++ b/key-string.c @@ -232,7 +232,7 @@ key_string_lookup_string(const char *string) const char * key_string_lookup_key(key_code key) { - static char out[24]; + static char out[32]; char tmp[8]; u_int i; struct utf8_data ud; @@ -1491,6 +1491,7 @@ winlink_clear_flags(struct winlink *wl) } } +/* Shuffle window indexes up. */ int winlink_shuffle_up(struct session *s, struct winlink *wl) { |