diff src/gtkconv.c @ 5975:80e5258226f3

[gaim-migrate @ 6422] I made some changes so that, if you have 2 buddies in your buddy list with the same name, and you delete one by right clicking on it in the blist, gaim will delete the one you right clicked rather than an arbitrary one. I think the hash table that speeds up stuff in gtkblist.c has problems with having the same buddy in a group twice. Someone should look into that. Like, right now it treats buddy name/group name/account as a unique key, but right now that is not a unique key. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 29 Jun 2003 20:57:28 +0000
parents 5fb6bd688a5b
children 66a8e4938e17
line wrap: on
line diff
--- a/src/gtkconv.c	Sun Jun 29 07:50:48 2003 +0000
+++ b/src/gtkconv.c	Sun Jun 29 20:57:28 2003 +0000
@@ -444,7 +444,7 @@
 	b    = gaim_find_buddy(gc->account, name);
 
 	if (b != NULL)
-		show_confirm_del(gc, (char *)name);
+		show_confirm_del(b);
 	else if (gc != NULL)
 		show_add_buddy(gc, (char *)name, NULL, NULL);
 
@@ -981,7 +981,7 @@
 	b    = gaim_find_buddy(gc->account, name);
 
 	if (b != NULL)
-		show_confirm_del(gc, name);
+		show_confirm_del(b);
 	else if (gc != NULL)
 		show_add_buddy(gc, name, NULL, NULL);