just noticed it and it fits nicely, so hijacking the thread. :)
from the "whoops" cathegory ...
in the hotlist, hit del on an item and then hit escape ... and guess
what? it's gone! and the same for non-empty groups.
trivial patch attached. i checked some more calls to query_dialg in
other files and they were ok, so i suppose this was a local faux pas.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
Index: hotlist.c
===================================================================
RCS file: /sources/mc/mc/src/hotlist.c,v
retrieving revision 1.83
diff -U2 -r1.83 hotlist.c
--- hotlist.c   14 Feb 2006 09:15:17 -0000      1.83
+++ hotlist.c   4 Aug 2006 18:22:07 -0000
@@ -1097,5 +1097,5 @@
        g_free (title);
 
-       if (result == 1)
+       if (result != 0)
            return;
     }
@@ -1115,5 +1115,5 @@
            g_free (header);
 
-           if (result == 1)
+           if (result != 0)
                return;
        }
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to