Changeset 7484 for trunk/src


Ignore:
Timestamp:
Nov 29, 2001, 1:05:50 PM (24 years ago)
Author:
phaller
Message:

Fixed NULL pointer exception in constructor TRACE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/olepicture.c

    r6711 r7484  
    165165
    166166  if (pictDesc)
    167       TRACE("(%p) type = %d\n", pictDesc, pictDesc->picType);
     167  {
     168    // PH 2001-11-29 TRACE must be in curly braces otherwise
     169    // the scope of the if statement is left and we'll crash
     170    // on picDesc == NULL
     171    TRACE("(%p) type = %d\n", pictDesc, pictDesc->picType);
     172  }
    168173
    169174  /*
Note: See TracChangeset for help on using the changeset viewer.