diff src/gtkimhtml.c @ 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 24c9a23df63b
children 3ee1b1409660
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;