Mercurial > pidgin
comparison src/gtkimhtml.c @ 1463:2f317467d2f9
[gaim-migrate @ 1473]
fix < :) >
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 03 Feb 2001 08:28:27 +0000 |
parents | 1ac49082e099 |
children | be620a051d6d |
comparison
equal
deleted
inserted
replaced
1462:1ac49082e099 | 1463:2f317467d2f9 |
---|---|
2477 tpos = 0; | 2477 tpos = 0; |
2478 continue; | 2478 continue; |
2479 } | 2479 } |
2480 | 2480 |
2481 if (!got_tag) { | 2481 if (!got_tag) { |
2482 ws [wpos] = 0; | 2482 char *d; |
2483 strcat (ws, tag); | 2483 tag [tpos] = 0; |
2484 wpos = strlen (ws); | 2484 d = tag; |
2485 while (*d) { | |
2486 if ((smilelen = gtk_imhtml_is_smiley (imhtml, d)) != 0) { | |
2487 ws [wpos] = 0; | |
2488 wpos = 0; | |
2489 NEW_BIT (NEW_TEXT_BIT); | |
2490 g_snprintf (ws, smilelen + 1, "%s", d); | |
2491 NEW_BIT (NEW_SMILEY_BIT); | |
2492 d += smilelen; | |
2493 } else { | |
2494 ws [wpos++] = *d++; | |
2495 } | |
2496 } | |
2497 tpos = 0; | |
2485 } else { | 2498 } else { |
2486 wpos = 0; | 2499 wpos = 0; |
2487 } | 2500 } |
2488 intag = FALSE; | 2501 intag = FALSE; |
2489 tpos = 0; | 2502 tpos = 0; |