summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-02-21 17:22:20 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-16 20:42:18 +0100
commit5b5ccb236f2f59cd792f0a2bda148d951b9156ed (patch)
tree8268560ba04ad444c68dcd195f6fe2e56ee3d4a6 /src
parent66571a0b634ef28307f6d6ceef1ba29c091ca524 (diff)
downloadweechat-5b5ccb236f2f59cd792f0a2bda148d951b9156ed.zip
core: fix display of key with command `/key bindctxt <context> <key>`
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 530383264..7395c47f0 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -4150,7 +4150,7 @@ COMMAND_CALLBACK(key)
if (argc == 4)
{
ptr_new_key = NULL;
- internal_code = gui_key_get_internal_code (argv[2]);
+ internal_code = gui_key_get_internal_code (argv[3]);
if (internal_code)
ptr_new_key = gui_key_search (gui_keys[context],
internal_code);