Mercurial > pidgin
diff src/gtkimhtml.c @ 9700:d6292978a704
[gaim-migrate @ 10559]
Sean or Tim: Let me know if this is totally wrong. It looked reasonable
to me.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 07 Aug 2004 15:58:22 +0000 |
parents | a57fa78e5752 |
children | d4634f26ef9b |
line wrap: on
line diff
--- a/src/gtkimhtml.c Sat Aug 07 15:04:15 2004 +0000 +++ b/src/gtkimhtml.c Sat Aug 07 15:58:22 2004 +0000 @@ -1739,6 +1739,7 @@ if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { gchar *e = strstr (string + strlen("!--"), "-->"); if (e) { + *type = -1; *len = e - string + strlen ("-->"); *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); return TRUE;