Changeset 21356 for trunk/src/user32/winicon.cpp
- Timestamp:
- Feb 21, 2010, 5:33:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/winicon.cpp
r9638 r21356 929 929 930 930 #ifdef __WIN32OS2__ 931 if( (hdc = CreateCompatibleDC( 0 )) )931 if( (hdc = CreateCompatibleDC( 0 )) != 0 ) 932 932 #else 933 933 if( (hdc = GetDC( 0 )) ) … … 948 948 949 949 if ((pInfo = (BITMAPINFO *)HeapAlloc( GetProcessHeap(), 0, 950 max(size, sizeof(BITMAPINFOHEADER) + 2*sizeof(RGBQUAD)))) )950 max(size, sizeof(BITMAPINFOHEADER) + 2*sizeof(RGBQUAD)))) != NULL) 951 951 { 952 952 memcpy( pInfo, bmi, size ); … … 1017 1017 if (DoStretch) 1018 1018 { 1019 if ((hAndBits = CreateBitmap(width, height, 1, 1, NULL)) )1019 if ((hAndBits = CreateBitmap(width, height, 1, 1, NULL)) != 0) 1020 1020 { 1021 1021 HBITMAP hOld;
Note:
See TracChangeset
for help on using the changeset viewer.