diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-01-02 14:14:41 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-01-02 14:14:41 +0000 |
commit | cd3800287297bdcd9fb8c90ee01a2414be3b9312 (patch) | |
tree | 93c4718a5f8dab79f9fd3c0af22c7ab1fc892a26 /src/trg-torrent-graph.c | |
parent | 8259ceddd02f76a337bb7037cdf5b86872ad09c6 (diff) |
change units to the IEC standard (and the Ubuntu units policy) for base2 (/1024) - KiB/GiB etc. this is instead of KB/s etc which Windows and many other apps use for base2. I've tried to fix up the translations as best as I can.
Diffstat (limited to 'src/trg-torrent-graph.c')
-rw-r--r-- | src/trg-torrent-graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c index 1b22375..94c4ecc 100644 --- a/src/trg-torrent-graph.c +++ b/src/trg-torrent-graph.c @@ -400,7 +400,7 @@ static void trg_torrent_graph_update_net(TrgTorrentGraph * g) fp[0] = 1.0f * priv->out / priv->max; fp[1] = 1.0f * priv->in / priv->max; - trg_strlspeed(speed, (gint64) (priv->out / KILOBYTE_FACTOR)); + trg_strlspeed(speed, (gint64) (priv->out / disk_K)); labelMarkup = g_markup_printf_escaped("<span font_size=\"small\" color=\"" GRAPH_OUT_COLOR "\">%s: %s</span>", |