input: don't add weird padding when formatting keycode

No idea what this was for. It has no purpose and looks weird.
This commit is contained in:
wm4 2014-10-17 00:52:42 +02:00
parent b5ca94af5c
commit 0a7a70f198
1 changed files with 1 additions and 1 deletions

View File

@ -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)