Fix compile by fixing for loop scoping rules. This may break in an older compiler that doesn't conform to the c++ standard.

This commit is contained in:
Steve Checkoway
2008-10-05 03:06:27 +00:00
parent 5be7c7f4e5
commit 0b7c9fff0c
@@ -220,7 +220,7 @@ static bool CheckPackages( RageFileDriverZip &fileDriver )
if( cwd[cwd.size()-1] != '\\' )
cwd += "\\";
for( i = 0; i < (int)vsDirectories.size(); ++i )
for( int i = 0; i < (int)vsDirectories.size(); ++i )
{
RString sDir = vsDirectories[i];
sDir += "/";