oleaut32: Don't complain when PICTDESC->cbSizeofstruct is 0.
This commit is contained in:
parent
8dc5bd8e29
commit
bcb3e28e2b
|
@ -308,12 +308,8 @@ static OLEPictureImpl* OLEPictureImpl_Construct(LPPICTDESC pictDesc, BOOL fOwn)
|
|||
newObject->bIsDirty = FALSE;
|
||||
|
||||
if (pictDesc) {
|
||||
if(pictDesc->cbSizeofstruct != sizeof(PICTDESC)) {
|
||||
FIXME("struct size = %d\n", pictDesc->cbSizeofstruct);
|
||||
}
|
||||
memcpy(&newObject->desc, pictDesc, sizeof(PICTDESC));
|
||||
|
||||
|
||||
switch(pictDesc->picType) {
|
||||
case PICTYPE_BITMAP:
|
||||
OLEPictureImpl_SetBitmap(newObject);
|
||||
|
|
Loading…
Reference in New Issue