diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-10-18 23:24:53 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-10-18 23:24:53 +0800 |
commit | 87aea2e047c3b6b4c3c074b2c420755addeae9fc (patch) | |
tree | da03dfd9e152000e8e6510366c3063dca0591843 /embed/mozilla | |
parent | ffde74ada62e35272116666525dbc6bbd30362b3 (diff) | |
download | gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.tar gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.tar.gz gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.tar.bz2 gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.tar.lz gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.tar.xz gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.tar.zst gsoc2013-epiphany-87aea2e047c3b6b4c3c074b2c420755addeae9fc.zip |
initialize cur/total size
2003-10-18 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/MozDownload.cpp:
initialize cur/total size
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |