summaryrefslogtreecommitdiff
path: root/src/trg-torrent-graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-torrent-graph.c')
-rw-r--r--src/trg-torrent-graph.c2
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>",