This commit is contained in:
Elena Subbotina
2024-08-28 16:45:32 +03:00
parent 3b47ce04b4
commit 13088c6ed4

View File

@ -62,7 +62,10 @@ namespace DocFileFormat
{
ProtInfoBookmark *newObject = new ProtInfoBookmark();
newObject->id = reader->ReadUInt32();
if (length > 8)
{
newObject->id = reader->ReadUInt32();
}
newObject->uidSel = reader->ReadUInt16();
newObject->iProt = reader->ReadUInt16();