Mercurial > gftp.yaz
diff src/gtk/misc-gtk.c @ 838:57aad6d4b304
2006-10-31 Brian Masney <masneyb@gftp.org>
WARNING: The CVS version of gFTP is currently broken, especially for
international users. This will be fixed in a few days.
* lib/gftp.h lib/local.c lib/misc.c lib/protocols.c lib/rfc959.c
src/gtk/misc-gtk.c src/text/gftp-text.c - added length argument to
gftp_string_from_utf8() and gftp_string_to_utf8()
* src/uicommon/gftpui.c - warning fixes
author | masneyb |
---|---|
date | Wed, 01 Nov 2006 02:05:25 +0000 |
parents | afbe37351940 |
children | 877282be3a78 |
line wrap: on
line diff
--- a/src/gtk/misc-gtk.c Mon Oct 30 13:49:06 2006 +0000 +++ b/src/gtk/misc-gtk.c Wed Nov 01 02:05:25 2006 +0000 @@ -54,6 +54,7 @@ GtkTextIter iter, iter2; const char *descr; char *utf8_str; + size_t destlen; #endif va_start (argp, string); @@ -70,7 +71,7 @@ va_end (argp); #if GTK_MAJOR_VERSION > 1 - if ((utf8_str = gftp_string_to_utf8 (request, logstr)) != NULL) + if ((utf8_str = gftp_string_to_utf8 (request, logstr, &destlen)) != NULL) { if (free_logstr) g_free (logstr);