Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 4159:3f267c74e50a
[gaim-migrate @ 4387]
A few days ago I added a feature that sometimes put cool little
random characters after people's aim info or away messages.
Unfortunately, the world just isn't ready for this feature,
so I feel obligated to remove it. I'm sorry. He would have
wanted it this way.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 31 Dec 2002 05:24:17 +0000 |
parents | 3468d666d3cc |
children | 481c51159627 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Dec 31 05:23:12 2002 +0000 +++ b/src/protocols/oscar/oscar.c Tue Dec 31 05:24:17 2002 +0000 @@ -2644,7 +2644,7 @@ flags = parse_encoding (text_enc); switch (flags) { case 0: - utf8 = g_strdup(text); + utf8 = g_strndup(text, text_len); break; case AIM_IMFLAGS_UNICODE: utf8 = g_convert(text, text_len, "UTF-8", "UCS-2BE", NULL, NULL, NULL);