From 1ec4eb81c9bb4f6d720e0f77e504b1ca01d408b5 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 12 Sep 2011 11:59:36 +0000 Subject: use the same function used for torrent/recheck progress in peer progress. --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 07a6440..932ef25 100644 --- a/src/util.c +++ b/src/util.c @@ -368,7 +368,7 @@ void trg_widget_set_visible(GtkWidget * w, gboolean visible) { gtk_widget_hide(w); } -gdouble json_int_or_double_to_double(JsonNode *n) +gdouble json_double_to_progress(JsonNode *n) { GValue a = { 0 }; json_node_get_value(n, &a); -- cgit v1.2.3