mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 12:09:32 +02:00
SynEdit: Ifdef Markup: fixed wrong assert: issue #0024581
git-svn-id: trunk@41677 -
This commit is contained in:
parent
35fbbe9c73
commit
c1b253f642
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user