fixes for reading inherited forms from Colin Western

git-svn-id: trunk@6669 -
This commit is contained in:
mattias 2005-01-23 12:56:49 +00:00
parent 650a6ec0c5
commit 2031a67a6e
2 changed files with 5 additions and 1 deletions

View File

@ -597,6 +597,10 @@ begin
// read classname length
NameLen:=0;
s.Read(NameLen,1);
if (NameLen and $f0) = $f0 then begin
{ Skip Flag Byte }
s.Read(NameLen,1);
end;
// read classname
if NameLen>0 then begin
SetLength(Result,NameLen);

View File

@ -2372,7 +2372,7 @@ begin
Flags := TFilerFlags(longint(Prefix and $0f));
if ffChildPos in Flags then
begin
ValueType := NextValue;
ValueType := ReadValue;
case ValueType of
vaInt8:
AChildPos := ReadInt8;