BUG: fix bad comparison

This commit is contained in:
Ken Martin 2006-12-07 16:31:56 -05:00
parent a47820ca86
commit 2ad2566d19
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ bool cmSetTestsPropertiesCommand
for ( it = tests.begin(); it != tests.end(); ++ it ) for ( it = tests.begin(); it != tests.end(); ++ it )
{ {
cmTest* test = *it; cmTest* test = *it;
if ( test->GetName() == tname ) if ( !strcmp(test->GetName(),tname ))
{ {
// now loop through all the props and set them // now loop through all the props and set them
for (k = 0; k < propertyPairs.size(); k = k + 2) for (k = 0; k < propertyPairs.size(); k = k + 2)