diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-02-14 21:50:21 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-16 20:42:18 +0100 |
commit | 21910b70509685c678e5ac3ff0249382a3b2c494 (patch) | |
tree | 3a1de9c442199677c7c6baf9a428cb5991f47ca4 /src/core/wee-config.c | |
parent | 0781f297268b8951938c43f564799609bc9a2d51 (diff) | |
download | weechat-21910b70509685c678e5ac3ff0249382a3b2c494.zip |
core: add function to expand raw key code to name with alias, use it in /key debug
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r-- | src/core/wee-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 72d9ec72c..a0a34c196 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -2602,7 +2602,7 @@ config_weechat_key_write_cb (const void *pointer, void *data, } for (ptr_key = gui_keys[context]; ptr_key; ptr_key = ptr_key->next_key) { - expanded_name = gui_key_get_expanded_name (ptr_key->key); + expanded_name = gui_key_expand_legacy (ptr_key->key); if (expanded_name) { rc = config_file_write_line (config_file, |