Mike McCormack : oleaut32: Don't complain when PICTDESC-> cbSizeofstruct is 0.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 14 05:16:23 CDT 2006


Module: wine
Branch: master
Commit: bcb3e28e2bc61fd809505df28e03e64f10aed4ac
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=bcb3e28e2bc61fd809505df28e03e64f10aed4ac

Author: Mike McCormack <mike at codeweavers.com>
Date:   Mon Aug 14 14:07:05 2006 +0900

oleaut32: Don't complain when PICTDESC->cbSizeofstruct is 0.

---

 dlls/oleaut32/olepicture.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index 927c85c..83ef0aa 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -308,12 +308,8 @@ static OLEPictureImpl* OLEPictureImpl_Co
   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);




More information about the wine-cvs mailing list