changeset 2164:1eaf7f02f77e

[gaim-migrate @ 2174] thanks Mike Basinger for pointing out this bug. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 24 Aug 2001 16:33:12 +0000
parents f47ff201c53c
children 34ce165132de
files src/multi.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Fri Aug 24 04:56:13 2001 +0000
+++ b/src/multi.c	Fri Aug 24 16:33:12 2001 +0000
@@ -523,7 +523,7 @@
 			entry = gtk_entry_new();
 			gtk_box_pack_end(GTK_BOX(hbox), entry, FALSE, FALSE, 0);
 			gtk_object_set_user_data(GTK_OBJECT(entry), (void *)puo->pos);
-			if (u->proto_opt[puo->pos][0]) {
+			if (u && u->proto_opt[puo->pos][0]) {
 				debug_printf("setting text %s\n", u->proto_opt[puo->pos]);
 				gtk_entry_set_text(GTK_ENTRY(entry), u->proto_opt[puo->pos]);
 			} else {