diff options
author | wm4 <wm4@nowhere> | 2014-02-17 02:30:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-17 02:52:58 +0100 |
commit | fe586dbbdb129e00be6c2b5e6739341dc019ab1c (patch) | |
tree | b99d2a320e7bed72c0b63d017d321edf5d8901e6 /input/keycodes.c | |
parent | 5fd661b50ea60f32e73249d14b0c118dc1ac5dc6 (diff) | |
download | mpv-fe586dbbdb129e00be6c2b5e6739341dc019ab1c.tar.bz2 mpv-fe586dbbdb129e00be6c2b5e6739341dc019ab1c.tar.xz |
keycodes: add const to a function argument
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 66cb403c23..7d9c9bee55 100644 --- a/input/keycodes.c +++ b/input/keycodes.c @@ -283,7 +283,7 @@ char *mp_input_get_key_name(int key) return dst.start; } -char *mp_input_get_key_combo_name(int *keys, int max) +char *mp_input_get_key_combo_name(const int *keys, int max) { bstr dst = {0}; while (max > 0) { |