diff options
author | wm4 <wm4@nowhere> | 2013-12-30 22:44:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-30 22:49:51 +0100 |
commit | b0efd3f36a3d2c72a8682d6a2b97925716ff9ba5 (patch) | |
tree | 969b3bc0a191126c7d1e883b205041e00f706fef /input/keycodes.h | |
parent | 963a3d2c6407f1ec92185406ebf933f8999d7406 (diff) | |
download | mpv-b0efd3f36a3d2c72a8682d6a2b97925716ff9ba5.tar.bz2 mpv-b0efd3f36a3d2c72a8682d6a2b97925716ff9ba5.tar.xz |
input: use bstr_xappend()
To get rid of mp_append_utf8_buffer().
Diffstat (limited to 'input/keycodes.h')
-rw-r--r-- | input/keycodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input/keycodes.h b/input/keycodes.h index 827aee7ba7..e7dd10c8ab 100644 --- a/input/keycodes.h +++ b/input/keycodes.h @@ -256,8 +256,8 @@ // Get input key from its name. int mp_input_get_key_from_name(const char *name); -// Append given key by name to ret, return ret. -char *mp_input_get_key_name(int key, char *ret); +// Return given key (plus modifiers) as talloc'ed name. +char *mp_input_get_key_name(int key); // Combination of multiple keys to string. char *mp_input_get_key_combo_name(int *keys, int max); |