summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-command.c')
-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);