changeset 7089:2cd3756a637b

[gaim-migrate @ 7654] Fixed a crash on dragging buddies into conv windows. Closes 814887. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 23:31:35 +0000
parents 7fd2fd7c6980
children 04f9f7440bc3
files src/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Sep 30 23:24:13 2003 +0000
+++ b/src/gtkconv.c	Tue Sep 30 23:31:35 2003 +0000
@@ -3675,9 +3675,7 @@
 		else
 			return;
 
-		c = gaim_conversation_new(GAIM_CONV_IM,
-								  ((GaimBuddy *)n)->account,
-								  ((GaimBuddy *)n)->name);
+		c = gaim_conversation_new(GAIM_CONV_IM, b->account, b->name);
 
 		gaim_window_add_conversation(win, c);
 	}