aboutsummaryrefslogtreecommitdiff
path: root/src/binds.c
diff options
context:
space:
mode:
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 3408ad9..f1a6558 100644
--- a/src/binds.c
+++ b/src/binds.c
@@ -231,7 +231,7 @@ static int print_event(char *buf, size_t len, const SDL_Event *event)
keyname = "RightSquareBracket";
} else if(strlen(keyname) == 1 && isalpha(*keyname)) {
singlekey[0] = tolower(*keyname);
- keyname = &singlekey[0];
+ keyname = singlekey;
}
return snprintf(buf, len, "%s%s", prefix, keyname);