mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 22:29:28 +02:00
* Start at root with setkey if key starts with / or \ (bug id 20761)
git-svn-id: trunk@26695 -
This commit is contained in:
parent
30352c7f7b
commit
628689e3e3
@ -163,6 +163,8 @@ begin
|
||||
Result:=(Length(KeyPath)>0);
|
||||
If Not Result then
|
||||
Exit;
|
||||
If (KeyPath[1] in ['/','\']) then
|
||||
FCurrentElement:=Nil;
|
||||
KeyPath:=NormalizeKey(KeyPath);
|
||||
If (FCurrentElement<>nil) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user