comparison 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
comparison
equal deleted inserted replaced
525:5dbca28e7138 526:5bf71b39cba2
3475 else if (!strncasecmp(c, "&nbsp;", 6)) 3475 else if (!strncasecmp(c, "&nbsp;", 6))
3476 { 3476 {
3477 ws[wpos++] = ' '; 3477 ws[wpos++] = ' ';
3478 c += 5; 3478 c += 5;
3479 } 3479 }
3480 else if (!strncasecmp(c, "&copy;", 6))
3481 {
3482 ws[wpos++] = '©';
3483 c += 5;
3484 }
3485 else if (*(c + 1) == '#')
3486 {
3487 int pound = 0;
3488 debug_print("got &#;\n");
3489 if (sscanf(c, "&#%d;", &pound) > 0) {
3490 ws[wpos++] = (char)pound;
3491 c += 2;
3492 while (isdigit(*c)) c++;
3493 if (*c != ';') c--;
3494 } else {
3495 ws[wpos++] = *c;
3496 }
3497 }
3480 else 3498 else
3481 { 3499 {
3482 ws[wpos++] = *c; 3500 ws[wpos++] = *c;
3483 } 3501 }
3484 } 3502 }