changeset 995:baad64740daa

[gaim-migrate @ 1005] decklin points out my stupidity and then fixes it for me committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 14 Oct 2000 21:05:21 +0000
parents fc1ca0d9c878
children 388ac74f4212
files src/dialogs.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Oct 14 20:31:22 2000 +0000
+++ b/src/dialogs.c	Sat Oct 14 21:05:21 2000 +0000
@@ -1603,16 +1603,17 @@
 
 	gtk_widget_show(bot);
 
-
 	info_user_menu(b, top);
 
 	b->text = gtk_text_new(NULL, NULL);
 	gtk_text_set_word_wrap(GTK_TEXT(b->text), TRUE);
 	gtk_text_set_editable(GTK_TEXT(b->text), TRUE);
 	gtk_widget_set_usize(b->text, 350, 100);
-	if (aim_users)
+	if (aim_users) {
 		gtk_text_insert(GTK_TEXT(b->text), NULL, NULL, NULL,
 				((struct aim_user *)aim_users->data)->user_info, -1);
+		b->user = (struct aim_user *)aim_users->data;
+	}
 
 	gtk_widget_show(b->text);