Ignore:
Timestamp:
Nov 30, 2001, 8:02:33 PM (24 years ago)
Author:
sandervl
Message:

removed TRACE/WARN macro redefinition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/comctl32undoc.c

    r7502 r7508  
    3636
    3737DEFAULT_DEBUG_CHANNEL(commctrl);
    38 
    39 #ifdef __WIN32OS2__
    40 #undef FIXME
    41 //#undef TRACE
    42 #ifdef DEBUG
    43 // PH 2001-11-30
    44 // this macro definition causes the control leave the scope of a
    45 // non-curly-braced preceeding if statement. Therefore,
    46 //   if (p!=NULL)
    47 //      TRACE("p->a=%d", p->a)
    48 // crashes.
    49 //
    50 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
    51 // !!! ARE PUT INTO CURLY BRACES
    52 #define FIXME WriteLog("FIXME COMCTL32: %s", __FUNCTION__); WriteLog
    53 #else
    54 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    55 #endif
    56 #endif
    5738
    5839extern HANDLE COMCTL32_hHeap; /* handle to the private heap */
     
    13581339    for (i = 0; i < hdsa->nItemSize; i += 4) {
    13591340        p = *(DWORD**)((char *) pSrc + i);
    1360         if (IsBadStringPtrA ((char*)p, 256))
    1361         {
    1362           TRACE("-- %d=%p\n", i, (DWORD*)p);
    1363         }
    1364         else
    1365         {
    1366           TRACE("-- %d=%p [%s]\n", i, p, debugstr_a((char*)p));
    1367         }
     1341        if (IsBadStringPtrA ((char*)p, 256))
     1342            TRACE("-- %d=%p\n", i, (DWORD*)p);
     1343        else
     1344            TRACE("-- %d=%p [%s]\n", i, p, debugstr_a((char*)p));
    13681345    }
    13691346   
Note: See TracChangeset for help on using the changeset viewer.