1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 21:12:05 +00:00

(gkt) #785: gtk/utils.c does not compile with glib 2.16

This commit is contained in:
Charles Kerr 2008-03-12 19:17:54 +00:00
parent 9b088498ad
commit b6f2796e40

View file

@ -77,7 +77,7 @@ tr_strlsize( char * buf, guint64 size, size_t buflen )
g_strlcpy( buf, _( "None" ), buflen );
#if GLIB_CHECK_VERSION(2,16,0)
else{
char * tmp = g_format_size_for_display( s );
char * tmp = g_format_size_for_display( size );
g_strlcpy( buf, tmp, buflen );
g_free( tmp );
}