From: Eric W. <war...@us...> - 2001-10-06 05:34:47
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv10098 Modified Files: multi.c Log Message: hi Index: multi.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/multi.c,v retrieving revision 1.89 retrieving revision 1.90 diff -u -d -r1.89 -r1.90 --- multi.c 2001/10/06 04:05:50 1.89 +++ multi.c 2001/10/06 05:34:44 1.90 @@ -424,7 +424,8 @@ GtkWidget *browse; GtkWidget *reset; - g_snprintf(u->iconfile, sizeof(u->iconfile), "%s", u->user->iconfile); + if (u->user) + g_snprintf(u->iconfile, sizeof(u->iconfile), "%s", u->user->iconfile); hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(box), hbox, FALSE, FALSE, 5); @@ -513,8 +514,10 @@ u->rempass = rempass; u->checkmail = checkmail; u->iconsel = iconsel; - gtk_entry_set_text(GTK_ENTRY(name), u->user->username); - gtk_entry_set_text(GTK_ENTRY(pass), u->user->password); + if (u->user) { + gtk_entry_set_text(GTK_ENTRY(name), u->user->username); + gtk_entry_set_text(GTK_ENTRY(pass), u->user->password); + } gtk_entry_set_editable(GTK_ENTRY(name), FALSE); } |