Mercurial > pidgin.yaz
changeset 2084:6c25411834dd
[gaim-migrate @ 2094]
Unicode fix. Thanks John Matthews.
/
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Thu, 26 Jul 2001 21:34:01 +0000 |
parents | f5659096bcd6 |
children | 7ebb4322f89b |
files | ChangeLog src/oscar.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Jul 24 22:33:52 2001 +0000 +++ b/ChangeLog Thu Jul 26 21:34:01 2001 +0000 @@ -5,6 +5,7 @@ * Fixed a little segfault when images are links * Redid the about box again. * Fixed a nice little bug with the manual browser command + * Oscar Unicode fix (Thanks John Matthews) version 0.11.0-pre14 (06/17/2001): * Fixed a segfault with Oscar's account confirmation
--- a/src/oscar.c Tue Jul 24 22:33:52 2001 +0000 +++ b/src/oscar.c Thu Jul 26 21:34:01 2001 +0000 @@ -1720,10 +1720,10 @@ if ((uni < 128) || ((uni >= 160) && (uni <= 255))) { /* ISO 8859-1 */ - g_snprintf(tmp+strlen(tmp), sizeof(tmp)-strlen(tmp), "%c", uni); + g_snprintf(tmp+strlen(tmp), BUF_LONG-strlen(tmp), "%c", uni); } else { /* something else, do UNICODE entity */ - g_snprintf(tmp+strlen(tmp), sizeof(tmp)-strlen(tmp), "&#%04x;", uni); + g_snprintf(tmp+strlen(tmp), BUF_LONG-strlen(tmp), "&#%04x;", uni); } } } else