mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 13:19:21 +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
|
(idnTempDisabled, idnTempEnabled); // False, True
|
||||||
begin
|
begin
|
||||||
Result := idnUnknown;
|
Result := idnUnknown;
|
||||||
Assert(NodeType <> APeerType, 'NodeStateForPeer: NodeType <> APeerType');
|
Assert((NodeType <> APeerType) or (NodeType = idnElseIf), 'NodeStateForPeer: NodeType <> APeerType');
|
||||||
case NodeState of
|
case NodeState of
|
||||||
idnEnabled: begin
|
idnEnabled: begin
|
||||||
case NodeType of
|
case NodeType of
|
||||||
|
Loading…
Reference in New Issue
Block a user