aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/MozDownload.cpp2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c2963e468..40cc9b3f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-10-18 Marco Pesenti Gritti <marco@gnome.org>
+ * embed/mozilla/MozDownload.cpp:
+
+ initialize cur/total size
+
+2003-10-18 Marco Pesenti Gritti <marco@gnome.org>
+
* TODO:
* embed/mozilla/MozDownload.cpp:
* embed/mozilla/MozDownload.h:
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 96f5ac38b..2c7be9a07 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -91,6 +91,8 @@ MozDownload::Init(nsIURI *aSource, nsILocalFile *aTarget, const PRUnichar *aDisp
mSource = aSource;
mDestination = aTarget;
mStartTime = startTime;
+ mTotalProgress = 0;
+ mCurrentProgress = 0;
mPercentComplete = 0;
mInterval = 4000; /* in ms */
mLastUpdate = mStartTime;