1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[dialogs] astr and adesc

This commit is contained in:
Witold Filipczyk 2022-01-30 15:27:49 +01:00
parent bcc911019d
commit 64cc15766d

View File

@ -707,7 +707,7 @@ match_keybinding(struct listbox_item *item, struct terminal *term,
return LISTBOX_MATCH_IMPOSSIBLE;
desc = keybinding_text_toggle
? action->str : _(action->desc, term);
? action->astr : _(action->adesc, term);
if ((desc && strcasestr((const char *)desc, (const char *)text)))
return LISTBOX_MATCH_OK;