changeset 2245:31157c54fe6e

[gaim-migrate @ 2255] hola committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Sep 2001 06:33:54 +0000
parents a647590a0979
children 933346315b9b
files src/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Sep 09 00:52:30 2001 +0000
+++ b/src/conversation.c	Sun Sep 09 06:33:54 2001 +0000
@@ -2649,7 +2649,7 @@
 void got_new_icon(struct gaim_connection *gc, char *who)
 {
 	struct conversation *c = find_conversation(who);
-	if (c->gc == gc)
+	if (c && (c->gc == gc))
 		update_icon(c);
 }