changeset 3056:2379e9bb2fea

[gaim-migrate @ 3069] Oops! Thanks for smacking me, Ben MIller. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 15 Mar 2002 03:35:09 +0000
parents 5bf6b3b5043c
children 04be53005648
files src/conversation.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Fri Mar 15 03:25:03 2002 +0000
+++ b/src/conversation.c	Fri Mar 15 03:35:09 2002 +0000
@@ -3381,6 +3381,12 @@
 {
 	GSList *smilies;
 
+	if (!c)
+		return;
+
+	if (!c->gc)
+		return;
+
 	if (c->gc->prpl->smiley_list) {
 		gtk_imhtml_remove_smileys(GTK_IMHTML(c->text));
 		smilies = c->gc->prpl->smiley_list();