summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c
index ee37ee03d6..6ef5bab1f5 100644
--- a/input/input.c
+++ b/input/input.c
@@ -596,7 +596,7 @@ static void interpret_key(struct input_ctx *ictx, int code, double scale)
if (mp_msg_test(ictx->log, MSGL_DEBUG)) {
int noflags = code & ~(MP_KEY_STATE_DOWN | MP_KEY_STATE_UP);
- char *key = mp_input_get_key_name(noflags, NULL);
+ char *key = mp_input_get_key_name(noflags);
MP_DBG(ictx, "key code=%#x '%s'%s%s\n",
code, key, (code & MP_KEY_STATE_DOWN) ? " down" : "",
(code & MP_KEY_STATE_UP) ? " up" : "");