aboutsummaryrefslogtreecommitdiff
path: root/src/binds.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-01-31 00:02:51 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-01-31 00:02:51 +0000
commit35c81938f39b0767eb63fd8af589d7eb1d24ce8f (patch)
treeee7c159f097b4dad6485f058a097d9c5f76cd97b /src/binds.c
parent4681319d1d8e76b401031495dd52322c3ba8a28d (diff)
downloadimv-35c81938f39b0767eb63fd8af589d7eb1d24ce8f.tar.gz
Fix some compiler warnings
Diffstat (limited to 'src/binds.c')
-rw-r--r--src/binds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binds.c b/src/binds.c
index f1a6558..a38fe1a 100644
--- a/src/binds.c
+++ b/src/binds.c
@@ -207,7 +207,7 @@ static int print_event(char *buf, size_t len, const SDL_Event *event)
}
/* Build prefix first: */
- char prefix[16] = {0};
+ char prefix[32] = {0};
snprintf(prefix, sizeof prefix, "%s%s%s",
SDL_GetModState() & KMOD_CTRL ? "Ctrl+" : "",
SDL_GetModState() & KMOD_ALT ? "Meta+" : "",