changeset 10786:7638c282b1d3

[gaim-migrate @ 12426] oops, this fixes it so i can see my own bgcolor. before it wasn't looking if you didn't have any other tags... I'm not infite looping. Sean,or someone who is, might want to check line 579: while (gtk_text_iter_in_range(&cur, &start, &end)) { specificly check if start ever equals end, that would be bad. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 07 Apr 2005 00:29:24 +0000
parents 4a2f361f49b9
children c932d96a7c69
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Tue Apr 05 21:13:33 2005 +0000
+++ b/src/gtkimhtml.c	Thu Apr 07 00:29:24 2005 +0000
@@ -2487,6 +2487,8 @@
 				case 35:	/* BODY */
 					break;
 				case 36:	/* /BODY */
+					gtk_text_buffer_insert(imhtml->text_buffer, iter, ws, wpos);
+					ws[0] = '\0'; wpos = 0;
 					gtk_imhtml_toggle_background(imhtml, NULL);
 					break;
 				case 37:	/* FONT */