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:
parent
9b088498ad
commit
b6f2796e40
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue