Ignore:
Timestamp:
Feb 21, 2010, 5:33:53 PM (16 years ago)
Author:
rlwalsh
Message:

eliminate VACPP warning & info msgs - see Ticket #1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/winicon.cpp

    r9638 r21356  
    929929
    930930#ifdef __WIN32OS2__
    931     if( (hdc = CreateCompatibleDC( 0 )) )
     931    if( (hdc = CreateCompatibleDC( 0 )) != 0 )
    932932#else
    933933    if( (hdc = GetDC( 0 )) )
     
    948948
    949949        if ((pInfo = (BITMAPINFO *)HeapAlloc( GetProcessHeap(), 0,
    950                                               max(size, sizeof(BITMAPINFOHEADER) + 2*sizeof(RGBQUAD)))))
     950                                              max(size, sizeof(BITMAPINFOHEADER) + 2*sizeof(RGBQUAD)))) != NULL)
    951951        {
    952952            memcpy( pInfo, bmi, size );
     
    10171017                if (DoStretch)
    10181018                {
    1019                     if ((hAndBits = CreateBitmap(width, height, 1, 1, NULL)))
     1019                    if ((hAndBits = CreateBitmap(width, height, 1, 1, NULL)) != 0)
    10201020                    {
    10211021                        HBITMAP hOld;
Note: See TracChangeset for help on using the changeset viewer.