From: Eric W. <war...@us...> - 2001-10-18 21:44:12
|
Update of /cvsroot/gaim/gaim/src/protocols/gg In directory usw-pr-cvs1:/tmp/cvs-serv25676/protocols/gg Modified Files: gg.c Log Message: i meant to do this already. Index: gg.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/gg/gg.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- gg.c 2001/10/18 20:56:59 1.5 +++ gg.c 2001/10/18 21:44:09 1.6 @@ -92,12 +92,12 @@ static gchar *charset_convert(const gchar *locstr, char *encsrc, char *encdst) { - gchar *result = NULL; + gchar *result = NULL; #ifdef HAVE_ICONV - if (iconv_string(encdst, encsrc, locstr, locstr+strlen(locstr)+1, &result, NULL) < 0) + if (iconv_string(encdst, encsrc, locstr, locstr+strlen(locstr)+1, &result, NULL) >= 0) + return result; #endif return g_strdup(locstr); - return result; } static gboolean invalid_uin(char *uin) |