From 5383707e3b3211b53606f037f6f09c71448dcba9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 26 Nov 2004 20:49:18 +0000 Subject: [PATCH] remove some excess punctuation, eg. if( ( x == y ) ) --- stepmania/src/ScreenPackages.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stepmania/src/ScreenPackages.cpp b/stepmania/src/ScreenPackages.cpp index 2f678b3781..348f04d2f6 100644 --- a/stepmania/src/ScreenPackages.cpp +++ b/stepmania/src/ScreenPackages.cpp @@ -636,11 +636,10 @@ void ScreenPackages::HTTPUpdate() { m_iDownloaded = m_sBUFFER.length(); } - if ( ( ( m_iTotalBytes <= m_iDownloaded ) && ( m_iTotalBytes != -1 ) ) || + if ( ( m_iTotalBytes <= m_iDownloaded && m_iTotalBytes != -1 ) || //We have the full doc. (And we knew how big it was) - ( ( m_iTotalBytes == -1 ) && - ( ( m_wSocket.state == 8 ) || - ( m_wSocket.state == 0 ) ) ) ) + ( m_iTotalBytes == -1 && + ( m_wSocket.state == 8 || m_wSocket.state == 0 ) ) ) //XXX: Work around; these should use enumerated types. //We didn't know how big it was, and were disconnected //So that means we have it all.