diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-10-26 12:22:22 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-10-26 12:22:22 +0200 |
commit | 0069dbb5f1796ab85b430b30abf412460a9cca75 (patch) | |
tree | 4f07fb6e4ba8ae2aab3cf4e906a1168416e41638 /src/core/wee-command.c | |
parent | f3be467dd08e628436eaabd99f2ea4160973d238 (diff) | |
download | weechat-0069dbb5f1796ab85b430b30abf412460a9cca75.zip |
core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key)
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index ac90ac4ea..e821f3732 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -3029,7 +3029,7 @@ COMMAND_CALLBACK(key) /* bind new key */ if (CONFIG_BOOLEAN(config_look_key_bind_safe) - && !gui_key_is_safe (GUI_KEY_CONTEXT_DEFAULT, argv[3])) + && !gui_key_is_safe (context, argv[3])) { gui_chat_printf (NULL, _("%sError: it is not safe to bind key \"%s\" because " |