mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #4391: fix infinite loop when deleting an mceditor macro.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
82da1e88c7
commit
01c3c56140
@ -104,7 +104,7 @@ edit_delete_macro (WEdit * edit, int hotkey)
|
||||
char *skeyname;
|
||||
|
||||
/* clear array of actions for current hotkey */
|
||||
while ((indx = edit_get_macro (edit, hotkey) != -1))
|
||||
while ((indx = edit_get_macro (edit, hotkey)) != -1)
|
||||
{
|
||||
macros_t *macros;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user