diff src/conversation.c @ 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 b7ff2ca1d653
children 933346315b9b
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);
 }