BUG: used wrong counters

This commit is contained in:
Andy Cedilnik 2003-03-20 09:47:13 -05:00
parent ffb12bae64
commit a870d08670
1 changed files with 4 additions and 4 deletions

View File

@ -970,11 +970,11 @@ int cmCTest::BuildDirectory()
std::vector<int>::size_type kk;
for ( kk =0; kk < markedLines.size(); kk ++ )
{
if ( markedLines[cc] == 1 )
if ( markedLines[kk] == 1 )
{
if ( re.find(lines[kk]) )
{
markedLines[cc] = 0;
markedLines[kk] = 0;
}
}
}
@ -986,11 +986,11 @@ int cmCTest::BuildDirectory()
std::vector<int>::size_type kk;
for ( kk =0; kk < markedLines.size(); kk ++ )
{
if ( markedLines[cc] > 1 )
if ( markedLines[kk] > 1 )
{
if ( re.find(lines[kk]) )
{
markedLines[cc] = 0;
markedLines[kk] = 0;
}
}
}