summaryrefslogtreecommitdiff
path: root/src/tfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tfile.c')
-rw-r--r--src/tfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tfile.c b/src/tfile.c
index f0b073c..0dca0a4 100644
--- a/src/tfile.c
+++ b/src/tfile.c
@@ -25,7 +25,7 @@
gdouble file_get_progress(JsonObject * f)
{
return ((gdouble) file_get_bytes_completed(f) /
- (gdouble) file_get_length(f)) * 100.0;
+ (gdouble) file_get_length(f)) * 100.0;
}
gint64 file_get_length(JsonObject * f)