瀏覽代碼

* Inadvertenly applied untested change, undo

git-svn-id: trunk@39659 -
michael 7 年之前
父節點
當前提交
e6304da9a6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;