From 2ad2566d198f7094bb82e5570f77afe2cc179a20 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 7 Dec 2006 16:31:56 -0500 Subject: [PATCH] BUG: fix bad comparison --- Source/cmSetTestsPropertiesCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSetTestsPropertiesCommand.cxx b/Source/cmSetTestsPropertiesCommand.cxx index 269ef78d0..0d4c3fc79 100644 --- a/Source/cmSetTestsPropertiesCommand.cxx +++ b/Source/cmSetTestsPropertiesCommand.cxx @@ -109,7 +109,7 @@ bool cmSetTestsPropertiesCommand for ( it = tests.begin(); it != tests.end(); ++ it ) { cmTest* test = *it; - if ( test->GetName() == tname ) + if ( !strcmp(test->GetName(),tname )) { // now loop through all the props and set them for (k = 0; k < propertyPairs.size(); k = k + 2)