Ver Fonte

* Inadvertenly applied untested change, undo

git-svn-id: trunk@39659 -
michael há 7 anos atrás
pai
commit
e6304da9a6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/fcl-registry/src/xregreg.inc

+ 1 - 1
packages/fcl-registry/src/xregreg.inc

@@ -183,7 +183,7 @@ end;
 
 function TRegistry.GetKey(const Key: string): HKEY;
 begin
-  Result := FCurrentKey;
+  Result := 0;
 end;
 
 function TRegistry.GetKeyInfo(Out Value: TRegKeyInfo): Boolean;