Jelajahi Sumber

* Inadvertenly applied untested change, undo

git-svn-id: trunk@39659 -
michael 7 tahun lalu
induk
melakukan
e6304da9a6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
 function TRegistry.GetKey(const Key: string): HKEY;
 begin
 begin
-  Result := FCurrentKey;
+  Result := 0;
 end;
 end;
 
 
 function TRegistry.GetKeyInfo(Out Value: TRegKeyInfo): Boolean;
 function TRegistry.GetKeyInfo(Out Value: TRegKeyInfo): Boolean;