SynEdit: Ifdef Markup: fixed wrong assert: issue #0024581

git-svn-id: trunk@41677 -
This commit is contained in:
martin 2013-06-11 11:29:48 +00:00
parent 35fbbe9c73
commit c1b253f642

View File

@ -1196,7 +1196,7 @@ const
(idnTempDisabled, idnTempEnabled); // False, True
begin
Result := idnUnknown;
Assert(NodeType <> APeerType, 'NodeStateForPeer: NodeType <> APeerType');
Assert((NodeType <> APeerType) or (NodeType = idnElseIf), 'NodeStateForPeer: NodeType <> APeerType');
case NodeState of
idnEnabled: begin
case NodeType of