Mercurial > pidgin
diff src/gtkhtml.c @ 526:5bf71b39cba2
[gaim-migrate @ 536]
Prompt to see if person wants to do DirectIM instead of assuming they do
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 25 Jul 2000 18:18:06 +0000 |
| parents | 023c3851db0a |
| children | c9f994ea5833 |
line wrap: on
line diff
--- a/src/gtkhtml.c Tue Jul 25 08:33:20 2000 +0000 +++ b/src/gtkhtml.c Tue Jul 25 18:18:06 2000 +0000 @@ -3477,6 +3477,24 @@ ws[wpos++] = ' '; c += 5; } + else if (!strncasecmp(c, "©", 6)) + { + ws[wpos++] = '©'; + c += 5; + } + else if (*(c + 1) == '#') + { + int pound = 0; + debug_print("got &#;\n"); + if (sscanf(c, "&#%d;", £) > 0) { + ws[wpos++] = (char)pound; + c += 2; + while (isdigit(*c)) c++; + if (*c != ';') c--; + } else { + ws[wpos++] = *c; + } + } else { ws[wpos++] = *c;
