[gaim-migrate @ 12426]

Thu, 07 Apr 2005 00:29:24 +0000

author
Tim Ringenbach <marv@pidgin.im>
date
Thu, 07 Apr 2005 00:29:24 +0000
changeset 10786
ccd157c17483
parent 10785
dddaac60f963
child 10787
29f66669c5af

[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.

src/gtkimhtml.c file | annotate | diff | comparison | revisions
--- 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 */

mercurial