mirror of https://github.com/MidnightCommander/mc
* hotlist.c (remove_from_hotlist): Fix improper check of the
return value - group could be deleted after pressing ESC.
This commit is contained in:
parent
636d457a87
commit
16123e0850
|
@ -1,3 +1,8 @@
|
|||
2003-10-25 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
|
||||
|
||||
* hotlist.c (remove_from_hotlist): Fix improper check of the
|
||||
return value - group could be deleted after pressing ESC.
|
||||
|
||||
2003-10-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* background.c (background_attention): Unregister task before
|
||||
|
|
|
@ -1048,7 +1048,7 @@ static void remove_from_hotlist (struct hotlist *entry)
|
|||
_("&No"), _("&Yes"));
|
||||
g_free (header);
|
||||
|
||||
if (!result)
|
||||
if (result != 1)
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue