diff src/conversation.c @ 575:a33616e4e48d

[gaim-migrate @ 585] ctl-u is optional, one that i don't think i'll use, thank you committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 02 Aug 2000 00:13:57 +0000
parents 9566a53cde23
children 02ea095a972a
line wrap: on
line diff
--- a/src/conversation.c	Tue Aug 01 23:50:32 2000 +0000
+++ b/src/conversation.c	Wed Aug 02 00:13:57 2000 +0000
@@ -464,7 +464,8 @@
 			pos=gtk_editable_get_position(GTK_EDITABLE(entry));
 			gtk_editable_insert_text(GTK_EDITABLE(entry), "\n", 1, &pos);
 		}
-	} else if (event->state & GDK_CONTROL_MASK) {
+	} else if ((event->state & GDK_CONTROL_MASK)
+		   && (general_options & OPT_GEN_CTL_CHARS)) {
 		switch (event->keyval) {
 		case 'i':
 			quiet_set(c->italic, !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(c->italic)));