diff options
Diffstat (limited to 'input/keycodes.c')
-rw-r--r-- | input/keycodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/keycodes.c b/input/keycodes.c index a92b6ed0c8..5108a8beae 100644 --- a/input/keycodes.c +++ b/input/keycodes.c @@ -274,7 +274,7 @@ static void mp_input_append_key_name(bstr *buf, int key) } // Print the hex key code - bstr_xappend_asprintf(NULL, buf, "%#-8x", key); + bstr_xappend_asprintf(NULL, buf, "0x%x", key); } char *mp_input_get_key_name(int key) |