diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/ephy-download.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2004-09-22 Christian Persch <chpe@cvs.gnome.org> + + * embed/ephy-download.c: (update_remaining_time): + + Fix the build. + 2004-09-21 Christian Persch <chpe@cvs.gnome.org> * configure.ac: 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); } } |