Ignore:
Timestamp:
Nov 30, 2001, 6:49:22 PM (24 years ago)
Author:
phaller
Message:

Fixed out-of-scope FIXME,TRACE,WARN macros

File:
1 edited

Legend:

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

    r6709 r7502  
    4040#undef TRACE
    4141#ifdef DEBUG
     42// PH 2001-11-30
     43// this macro definition causes the control leave the scope of a
     44// non-curly-braced preceeding if statement. Therefore,
     45//   if (p!=NULL)
     46//      TRACE("p->a=%d", p->a)
     47// crashes.
     48//
     49// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     50// !!! ARE PUT INTO CURLY BRACES
    4251#define TRACE WriteLog("COMCTL32: %s", __FUNCTION__); WriteLog
    4352#define FIXME WriteLog("FIXME COMCTL32: %s", __FUNCTION__); WriteLog
Note: See TracChangeset for help on using the changeset viewer.