mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 05:09:17 +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);
|
Result:=(Length(KeyPath)>0);
|
||||||
If Not Result then
|
If Not Result then
|
||||||
Exit;
|
Exit;
|
||||||
|
If (KeyPath[1] in ['/','\']) then
|
||||||
|
FCurrentElement:=Nil;
|
||||||
KeyPath:=NormalizeKey(KeyPath);
|
KeyPath:=NormalizeKey(KeyPath);
|
||||||
If (FCurrentElement<>nil) then
|
If (FCurrentElement<>nil) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user