codetools: lfm parser: fixed FindProperty, thanks to Mazen

git-svn-id: trunk@18925 -
This commit is contained in:
mattias 2009-03-09 14:04:11 +00:00
parent 9f7246dd62
commit dea25b8bc2

View File

@ -508,7 +508,7 @@ begin
Node:=Root
else
Node:=ContextNode.FirstChild;
p:=System.Pos(PropertyPath,'.');
p:=System.Pos('.',PropertyPath);
FirstPart:=copy(PropertyPath,1,p-1);
RestParts:=copy(PropertyPath,p+1,length(PropertyPath));
while Node<>nil do begin