aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-22 20:49:51 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-22 20:49:51 +0800
commit7b46c83f7317340694c49138420ecffe681a4516 (patch)
tree5a16b95ec6961bbffbc0f48d1ad9d3922bc36c12
parentd04334becd2f54d92061b136c9abcd80509fbfe9 (diff)
downloadgsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.tar
gsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.tar.gz
gsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.tar.bz2
gsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.tar.lz
gsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.tar.xz
gsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.tar.zst
gsoc2013-epiphany-7b46c83f7317340694c49138420ecffe681a4516.zip
Fix the build.
2004-09-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-download.c: (update_remaining_time): Fix the build.
-rw-r--r--ChangeLog6
-rw-r--r--embed/ephy-download.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ffc567845..61e6cf5ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}
}