Mercurial > pidgin.yaz
changeset 1626:59c7e7831ccd
[gaim-migrate @ 1636]
ari pollak told me that there were problems
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 22 Mar 2001 01:37:44 +0000 |
parents | 8c92ea5d854f |
children | 78ec12439e0a |
files | src/gtkimhtml.c src/prpl.h |
diffstat | 2 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Wed Mar 21 07:25:43 2001 +0000 +++ b/src/gtkimhtml.c Thu Mar 22 01:37:44 2001 +0000 @@ -2279,8 +2279,8 @@ bold++; } else if (!g_strcasecmp (tag, "</B>") || !g_strcasecmp (tag, "</BOLD>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); if (bold) { - NEW_BIT (NEW_TEXT_BIT); bold--; } } else if (!g_strcasecmp (tag, "<I>") || !g_strcasecmp (tag, "<ITALIC>")) { @@ -2289,8 +2289,8 @@ italics++; } else if (!g_strcasecmp (tag, "</I>") || !g_strcasecmp (tag, "</ITALIC>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); if (italics) { - NEW_BIT (NEW_TEXT_BIT); italics--; } } else if (!g_strcasecmp (tag, "<U>") || !g_strcasecmp (tag, "<UNDERLINE>")) { @@ -2299,8 +2299,8 @@ underline++; } else if (!g_strcasecmp (tag, "</U>") || !g_strcasecmp (tag, "</UNDERLINE>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); if (underline) { - NEW_BIT (NEW_TEXT_BIT); underline--; } } else if (!g_strcasecmp (tag, "<S>") || !g_strcasecmp (tag, "<STRIKE>")) { @@ -2309,29 +2309,34 @@ strike++; } else if (!g_strcasecmp (tag, "</S>") || !g_strcasecmp (tag, "</STRIKE>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); if (strike) { - NEW_BIT (NEW_TEXT_BIT); strike--; } } else if (!g_strcasecmp (tag, "<SUB>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); sub++; } else if (!g_strcasecmp (tag, "</SUB>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); if (sub) { sub--; } } else if (!g_strcasecmp (tag, "<SUP>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); sup++; } else if (!g_strcasecmp (tag, "</SUP>")) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); if (sup) { sup--; } } else if (!g_strcasecmp (tag, "<TITLE>")) { if (options & GTK_IMHTML_NO_TITLE) { got_tag = TRUE; + NEW_BIT (NEW_TEXT_BIT); title++; } else { intag = FALSE;