38ecc82b3ef10abd7e924b98ddc86d1bd8bb9c74
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 06fd583..77a77e8 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -301,8 +301,7 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest,
 }
 #endif
 
-	if (((aStateFlags & STATE_IS_REQUEST) &&
-	     (aStateFlags & STATE_IS_NETWORK) &&
+	if (((aStateFlags & STATE_IS_NETWORK) &&
 	     (aStateFlags & STATE_STOP)) ||
 	    aStateFlags == STATE_STOP)
 	{
@@ -475,14 +474,14 @@ MozDownload::OnProgressChange64 (nsIWebProgress *aWebProgress,
 
 	if (aMaxTotalProgress <= 0)
 	{
-            mPercentComplete = -1;
+		mPercentComplete = -1;
 	}
 	else
 	{
 		/* Make sure not to round up, so we don't display 100% unless
 		 * it's really finished! 
 		 */
-	        mPercentComplete = (PRInt32)(((float)aCurTotalProgress / (float)aMaxTotalProgress) * 100.0);
+		mPercentComplete = (PRInt32)(((float)aCurTotalProgress / (float)aMaxTotalProgress) * 100.0);
 	}
 
 	mTotalProgress = aMaxTotalProgress;
