aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-download.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-download.c')
-rw-r--r--embed/ephy-download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index ee1a0154f..b78fef143 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -153,7 +153,7 @@ update_remaining_time (EphyDownload *download)
float per_byte_time;
per_byte_time = (float)elapsed_time / (float)cur;
- download->priv->remaining_time = time_per_byte * (total - cur);
+ download->priv->remaining_time = per_byte_time * (total - cur);
}
}