Browse Source

* fix from bart for mantis #0038581 that prohibits reusing readbinarydata
as basis for a multisz reader.

git-svn-id: trunk@49165 -

marco 4 years ago
parent
commit
5340d45a18
1 changed files with 0 additions and 2 deletions
  1. 0 2
      packages/fcl-registry/src/registry.pp

+ 0 - 2
packages/fcl-registry/src/registry.pp

@@ -481,8 +481,6 @@ Var
 
 begin
   Result := GetData(Name, @Buffer, BufSize, RegDataType);
-  If not (RegDataType in [rdBinary, rdUnknown]) Then
-    Raise ERegistryException.CreateFmt(SInvalidRegType, [Name]);
 end;
 
 function TRegistry.ReadBinaryData(const Name: String; var Buffer;