changeset 7911:169e85869dcc

[gaim-migrate @ 8571] (16:36:25) javabsp: LSchiere: Any text on the same line and before an hr is duplicated after the hr (16:37:41) javabsp: Actually it's probably not just on the same line, but within the same call to gtk_imhtml_append_text_with_images, but anyhow, the patch handles it. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 21 Dec 2003 21:43:23 +0000
parents a63c93e39ea5
children 4d4438f6ddce
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Sun Dec 21 21:33:54 2003 +0000
+++ b/src/gtkimhtml.c	Sun Dec 21 21:43:23 2003 +0000
@@ -1335,7 +1335,8 @@
 					scalable->add_to(scalable, imhtml, &iter);
 					scalable->scale(scalable, rect.width, rect.height);
 					imhtml->scalables = g_list_append(imhtml->scalables, scalable);
-					ws[wpos++] = '\n';
+                    ws[0] = '\n';
+                    ws[1] = NULL;
 					break;
 				case 27:	/* /FONT */
 					if (fonts) {