Explorar o código

* Inadvertenly applied untested change, undo

git-svn-id: trunk@39659 -
michael %!s(int64=7) %!d(string=hai) anos
pai
achega
e6304da9a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;