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

core: fix function gui_key_legacy_to_alias with keys on areas

This commit is contained in:
Sébastien Helleu
2023-02-15 23:23:55 +01:00
parent 21910b7050
commit 15587ac72f
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -888,6 +888,9 @@ gui_key_legacy_to_alias (const char *key)
if (!key)
return NULL;
if ((key[0] == '@') && strchr (key, ':'))
return strdup (key);
key_raw = gui_key_get_internal_code (key);
if (!key_raw)
return NULL;