Changeset 7508 for trunk/src/oleaut32/olepicture.c
- Timestamp:
- Nov 30, 2001, 8:02:33 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/oleaut32/olepicture.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/oleaut32/olepicture.c
r7501 r7508 56 56 #endif 57 57 58 #ifdef __WIN32OS2__59 #undef FIXME60 #undef TRACE61 #ifdef DEBUG62 // PH 2001-11-3063 // this macro definition causes the control leave the scope of a64 // non-curly-braced preceeding if statement. Therefore,65 // if (p!=NULL)66 // TRACE("p->a=%d", p->a)67 // crashes.68 //69 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT70 // !!! ARE PUT INTO CURLY BRACES71 #define TRACE WriteLog("%s", __FUNCTION__); WriteLog72 #define FIXME WriteLog("FIXME %s", __FUNCTION__); WriteLog73 #else74 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)75 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)76 #endif77 #endif78 79 58 DEFAULT_DEBUG_CHANNEL(ole); 80 59 … … 174 153 175 154 if (pictDesc) 176 {177 // PH 2001-11-29 TRACE must be in curly braces otherwise178 // the scope of the if statement is left and we'll crash179 // on picDesc == NULL180 155 TRACE("(%p) type = %d\n", pictDesc, pictDesc->picType); 181 }182 156 183 157 /* … … 507 481 This, hdc, x, y, cx, cy, xSrc, ySrc, cxSrc, cySrc, prcWBounds); 508 482 if(prcWBounds) 509 {510 483 TRACE("prcWBounds (%d,%d) - (%d,%d)\n", prcWBounds->left, prcWBounds->top, 511 prcWBounds->right, prcWBounds->bottom); 512 } 484 prcWBounds->right, prcWBounds->bottom); 513 485 514 486 /* … … 851 823 } 852 824 if (xread != header[1]) 853 {854 825 FIXME("Could only read %ld of %ld bytes?\n",xread,header[1]); 855 }856 826 857 827 magic = xbuf[0] + (xbuf[1]<<8); … … 1285 1255 hr = IPicture_QueryInterface(newpic,riid,ppvObj); 1286 1256 if (hr) 1287 { 1288 FIXME("Failed to get interface %s from IPicture.\n",debugstr_guid(riid)); 1289 } 1257 FIXME("Failed to get interface %s from IPicture.\n",debugstr_guid(riid)); 1290 1258 IPicture_Release(newpic); 1291 1259 return hr;
Note:
See TracChangeset
for help on using the changeset viewer.
