changeset 2239:b7ff2ca1d653

[gaim-migrate @ 2249] hi tKirin committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 07 Sep 2001 18:19:56 +0000
parents 5c4c5d757366
children c26f64d6b0e4
files src/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Fri Sep 07 12:40:28 2001 +0000
+++ b/src/conversation.c	Fri Sep 07 18:19:56 2001 +0000
@@ -860,7 +860,7 @@
 		plugin_event(event_im_displayed_sent, c->gc, c->name, &buffy, 0);
 		if (buffy) {
 			int imflags = 0;
-			if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(c->check)))
+			if (c->check && gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(c->check)))
 				imflags = IM_FLAG_CHECKBOX;
 			err = serv_send_im(c->gc, c->name, buffy, imflags);
 			g_free(buffy);