From a870d08670583d75492dce16f14ac6ffd994c448 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 20 Mar 2003 09:47:13 -0500 Subject: [PATCH] BUG: used wrong counters --- Source/cmCTest.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index be186ebf2..61243e311 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -970,11 +970,11 @@ int cmCTest::BuildDirectory() std::vector::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::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; } } }