* hotlist.c (remove_from_hotlist): Fix improper check of the

return value - group could be deleted after pressing ESC.
This commit is contained in:
Pavel Roskin 2003-10-25 18:35:18 +00:00
parent 636d457a87
commit 16123e0850
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -1048,7 +1048,7 @@ static void remove_from_hotlist (struct hotlist *entry)
_("&No"), _("&Yes"));
g_free (header);
if (!result)
if (result != 1)
return;
}