# HG changeset patch # User Richard Laager # Date 1131843823 0 # Node ID 6586230207480089ca3fa986b4d73e944450f8ff # Parent cb9d1a005aef563b2d13341612a507f9d0b37478 [gaim-migrate @ 14359] SF Patch #1355592 from Sadrul 'If I uncheck the "Show formatting on incoming messages", then it also starts ignoring the format of the outgoing messages -- which I don't believe is the intended behaviour. This patch fixes that.' committer: Tailor Script diff -r cb9d1a005aef -r 658623020748 src/gtkconv.c --- a/src/gtkconv.c Sun Nov 13 00:40:56 2005 +0000 +++ b/src/gtkconv.c Sun Nov 13 01:03:43 2005 +0000 @@ -4165,7 +4165,8 @@ gtk_font_options |= GTK_IMHTML_NO_COMMENTS; - if (!gaim_prefs_get_bool("/gaim/gtk/conversations/show_incoming_formatting")) + if ((flags & GAIM_MESSAGE_RECV) && + !gaim_prefs_get_bool("/gaim/gtk/conversations/show_incoming_formatting")) gtk_font_options |= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES | GTK_IMHTML_NO_FORMATTING; /* this is gonna crash one day, I can feel it. */