Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
9699:267eab8f3fa4 | 9700:d6292978a704 |
---|---|
1737 VALID_OPT_TAG("BR"); | 1737 VALID_OPT_TAG("BR"); |
1738 | 1738 |
1739 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { | 1739 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { |
1740 gchar *e = strstr (string + strlen("!--"), "-->"); | 1740 gchar *e = strstr (string + strlen("!--"), "-->"); |
1741 if (e) { | 1741 if (e) { |
1742 *type = -1; | |
1742 *len = e - string + strlen ("-->"); | 1743 *len = e - string + strlen ("-->"); |
1743 *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); | 1744 *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); |
1744 return TRUE; | 1745 return TRUE; |
1745 } | 1746 } |
1746 } | 1747 } |