BPicture: Attach as many picture tokens as promised.
This commit is contained in:
@@ -436,6 +436,8 @@ BPicture::_Upload()
|
|||||||
BPicture *picture = fExtent->PictureAt(i);
|
BPicture *picture = fExtent->PictureAt(i);
|
||||||
if (picture)
|
if (picture)
|
||||||
link.Attach<int32>(picture->fToken);
|
link.Attach<int32>(picture->fToken);
|
||||||
|
else
|
||||||
|
link.Attach<int32>(-1);
|
||||||
}
|
}
|
||||||
link.Attach<int32>(fExtent->Size());
|
link.Attach<int32>(fExtent->Size());
|
||||||
link.Attach(fExtent->Data(), fExtent->Size());
|
link.Attach(fExtent->Data(), fExtent->Size());
|
||||||
|
|||||||
Reference in New Issue
Block a user