[patch] hostlist confirmation dialog - group deleted after pressing ESC

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Sat Oct 25 11:44:55 UTC 2003


caused by an improper check of the return value

diff -u -b -B -r1.57 hotlist.c
--- hotlist.c   14 Oct 2003 21:58:56 -0000      1.57
+++ hotlist.c   25 Oct 2003 11:35:51 -0000
@@ -1049,7 +1049,7 @@
                                    _("&No"), _("&Yes"));
             g_free (header);

-           if (!result)
+           if (result != 1)
                 return;
         }

-- 
Jindrich Makovicka




More information about the mc-devel mailing list