Mercurial > pidgin.yaz
changeset 2871:10b808bee701
[gaim-migrate @ 2884]
don't include the nul character. that's bad.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 11 Dec 2001 06:29:58 +0000 |
parents | 50547c3729fa |
children | 30828b83143d |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Mon Dec 10 20:10:03 2001 +0000 +++ b/src/gtkimhtml.c Tue Dec 11 06:29:58 2001 +0000 @@ -2835,7 +2835,7 @@ gchar amp; - int smilelen; + gint smilelen; GList *newbits = NULL; @@ -3144,8 +3144,7 @@ pos++; } else if (gtk_imhtml_is_smiley (imhtml, c, &smilelen)) { NEW_BIT (NEW_TEXT_BIT); - g_snprintf (ws, smilelen + 1, "%s", c); - wpos = smilelen + 1; + wpos = g_snprintf (ws, smilelen + 1, "%s", c); NEW_BIT (NEW_SMILEY_BIT); c += smilelen; pos += smilelen;