diff src/protocols/icq/gaim_icq.c @ 2210:3a6fd1e8f00a

[gaim-migrate @ 2220] i haven't even tested this. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 05 Sep 2001 05:25:13 +0000
parents c24595d3c364
children 8c4ff1a368bd
line wrap: on
line diff
--- a/src/protocols/icq/gaim_icq.c	Tue Sep 04 18:42:44 2001 +0000
+++ b/src/protocols/icq/gaim_icq.c	Wed Sep 05 05:25:13 2001 +0000
@@ -282,6 +282,7 @@
 	link = id->link = icq_ICQLINKNew(atol(user->username), ps,
 			  user->proto_opt[USEROPT_NICK][0] ? user->proto_opt[USEROPT_NICK] : "gaim user",
 			  TRUE);
+	g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", user->proto_opt[USEROPT_NICK]);
 
 	link->icq_Logged = icq_online;
 	link->icq_Disconnected = icq_logged_off;