1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

core: fix display of key with command /key bindctxt <context> <key>

This commit is contained in:
Sébastien Helleu
2023-02-21 17:22:20 +01:00
parent 66571a0b63
commit 5b5ccb236f
+1 -1
View File
@@ -4150,7 +4150,7 @@ COMMAND_CALLBACK(key)
if (argc == 4) if (argc == 4)
{ {
ptr_new_key = NULL; 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) if (internal_code)
ptr_new_key = gui_key_search (gui_keys[context], ptr_new_key = gui_key_search (gui_keys[context],
internal_code); internal_code);