mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
GTK:
Adjust the number of decimals shown with sizes based on the number size, as is done with the ratio.
This commit is contained in:
@@ -48,10 +48,10 @@ typedef void (*callbackfunc_t)(void*);
|
||||
gboolean
|
||||
strbool(const char *str);
|
||||
|
||||
/* return a human-readable string for the size given in bytes with the
|
||||
requested number of decimal places. the string must be g_free()d */
|
||||
/* return a human-readable string for the size given in bytes.
|
||||
the string must be g_free()d */
|
||||
char *
|
||||
readablesize(guint64 size, int decimals);
|
||||
readablesize(guint64 size);
|
||||
|
||||
/* returns a string representing the download ratio.
|
||||
the string must be g_free()d */
|
||||
|
||||
Reference in New Issue
Block a user