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



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]