From 87aea2e047c3b6b4c3c074b2c420755addeae9fc Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 18 Oct 2003 15:24:53 +0000 Subject: initialize cur/total size 2003-10-18 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: initialize cur/total size --- embed/mozilla/MozDownload.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'embed') 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; -- cgit v1.2.3