Mercurial > pidgin.yaz
changeset 2542:221e1c8e2410
[gaim-migrate @ 2555]
i meant to do this already.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 18 Oct 2001 21:44:09 +0000 |
parents | 8229710b343b |
children | 830a83209475 |
files | src/protocols/gg/gg.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Thu Oct 18 20:56:59 2001 +0000 +++ b/src/protocols/gg/gg.c Thu Oct 18 21:44:09 2001 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 2554 2001-10-18 20:56:59Z warmenhoven $ + * $Id: gg.c 2555 2001-10-18 21:44:09Z warmenhoven $ * * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -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)