mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 02:37:16 +01:00
codetools: lfm parser: fixed FindProperty, thanks to Mazen
git-svn-id: trunk@18925 -
This commit is contained in:
parent
9f7246dd62
commit
dea25b8bc2
@ -508,7 +508,7 @@ begin
|
|||||||
Node:=Root
|
Node:=Root
|
||||||
else
|
else
|
||||||
Node:=ContextNode.FirstChild;
|
Node:=ContextNode.FirstChild;
|
||||||
p:=System.Pos(PropertyPath,'.');
|
p:=System.Pos('.',PropertyPath);
|
||||||
FirstPart:=copy(PropertyPath,1,p-1);
|
FirstPart:=copy(PropertyPath,1,p-1);
|
||||||
RestParts:=copy(PropertyPath,p+1,length(PropertyPath));
|
RestParts:=copy(PropertyPath,p+1,length(PropertyPath));
|
||||||
while Node<>nil do begin
|
while Node<>nil do begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user