mirror of https://github.com/mpv-player/mpv
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:
parent
b5ca94af5c
commit
0a7a70f198
|
@ -274,7 +274,7 @@ static void mp_input_append_key_name(bstr *buf, int key)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print the hex key code
|
// 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)
|
char *mp_input_get_key_name(int key)
|
||||||
|
|
Loading…
Reference in New Issue