diff options
author | wm4 <wm4@nowhere> | 2015-06-30 00:43:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-30 00:43:16 +0200 |
commit | eaf1547afcfd8aa97a4586cab8a77cb9c0ee9259 (patch) | |
tree | 434099239184f9986bab6d4e68b47b77e9536d06 /input | |
parent | 2f8eabe2166f897b9290ff154c882e87fee16746 (diff) | |
download | mpv-eaf1547afcfd8aa97a4586cab8a77cb9c0ee9259.tar.bz2 mpv-eaf1547afcfd8aa97a4586cab8a77cb9c0ee9259.tar.xz |
input: improve wording of key binding messages
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c index 2063a45923..9b93a6ed51 100644 --- a/input/input.c +++ b/input/input.c @@ -453,7 +453,7 @@ static mp_cmd_t *get_cmd_from_keys(struct input_ctx *ictx, char *force_section, if (MP_KEY_IS_MOUSE_MOVE(code)) msgl = MSGL_DEBUG; char *key_buf = mp_input_get_key_combo_name(&code, 1); - MP_MSG(ictx, msgl, "No bind found for key '%s'.\n", key_buf); + MP_MSG(ictx, msgl, "No key binding found for key '%s'.\n", key_buf); talloc_free(key_buf); return NULL; } @@ -469,7 +469,7 @@ static mp_cmd_t *get_cmd_from_keys(struct input_ctx *ictx, char *force_section, ret->is_mouse_button = code & MP_KEY_EMIT_ON_UP; } else { char *key_buf = mp_input_get_key_combo_name(&code, 1); - MP_ERR(ictx, "Invalid command for bound key '%s': '%s'\n", + MP_ERR(ictx, "Invalid command for key binding '%s': '%s'\n", key_buf, cmd->cmd); talloc_free(key_buf); } |