summaryrefslogtreecommitdiffstats
path: root/Source/cmElseCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmElseCommand.cxx')
-rw-r--r--Source/cmElseCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmElseCommand.cxx b/Source/cmElseCommand.cxx
index 2117c39..0f35203 100644
--- a/Source/cmElseCommand.cxx
+++ b/Source/cmElseCommand.cxx
@@ -100,7 +100,7 @@ bool cmElseCommand::InitialPass(std::vector<std::string>& args)
cmRegularExpression regEntry(args[2].c_str());
// check for black line or comment
- if (!regEntry.find(def))
+ if (regEntry.find(def))
{
f = new cmIfFunctionBlocker();
}