changeset 4997:c307d769cefa

[gaim-migrate @ 5332] get rid of the trailing jibberish for IM images committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 04 Apr 2003 16:40:30 +0000
parents 73aef6d0f497
children 13c4752e7138
files src/gtkimhtml.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Apr 04 16:30:52 2003 +0000
+++ b/src/gtkimhtml.c	Fri Apr 04 16:40:30 2003 +0000
@@ -1018,6 +1018,11 @@
 					break; 
 				case 40:        /* BINARY */
 					NEW_BIT (NEW_TEXT_BIT);
+					while (pos < len && g_ascii_strncasecmp("</BINARY>", c, strlen("</BINARY>"))) {
+						c++;
+						pos++;
+					}
+					c = c - tlen; /* Because it will add this later */
 					break;
 				case 41:        /* /BINARY */
 					break;