mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 19:30:19 +02:00
fixes for reading inherited forms from Colin Western
git-svn-id: trunk@6669 -
This commit is contained in:
parent
650a6ec0c5
commit
2031a67a6e
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user