changeset 1738:bcd7f80f0086

[gaim-migrate @ 1748] stupid bug committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 21 Apr 2001 09:52:22 +0000
parents 82c824fe018e
children 0ddc5418a0b4
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Sat Apr 21 01:59:38 2001 +0000
+++ b/src/gtkimhtml.c	Sat Apr 21 09:52:22 2001 +0000
@@ -2523,14 +2523,13 @@
 					g_free (value);
 				}
 
-				if (!font) {
+				if (!font || !(font->size || font->face || font->fore || font->back)) {
 					intag = FALSE;
 					tpos = 0;
 					continue;
 				}
 
-				if (font->size || font->face || font->fore || font->back)
-					NEW_BIT (NEW_TEXT_BIT);
+				NEW_BIT (NEW_TEXT_BIT);
 
 				if (fonts) {
 					FontDetail *oldfont = fonts->data;