Skip to content

Commit

Permalink
Fix "or not" logic type check being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
WarmUpTill committed Dec 3, 2023
1 parent aaad798 commit 0cf20bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/macro-core/macro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ bool Macro::CeckMatch()
}
break;
case LogicType::OR_NOT:
_matched = _matched || !cond;
if (!cond) {
c->SetHighlight();
}
Expand Down

0 comments on commit 0cf20bc

Please sign in to comment.