Ignore:
Timestamp:
Jun 11, 2001, 10:08:26 PM (24 years ago)
Author:
sandervl
Message:

bug fixes

File:
1 edited

Legend:

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

    r5728 r5968  
    1 /* $Id: winicon.cpp,v 1.23 2001-05-17 11:25:49 sandervl Exp $ */
     1/* $Id: winicon.cpp,v 1.24 2001-06-11 20:08:26 sandervl Exp $ */
    22/*
    33 * Win32 Icon Code for OS/2
     
    809809    }
    810810
     811#ifdef __WIN32OS2__
     812    if( (hdc = CreateCompatibleDC( 0 )) )
     813#else
    811814    if( (hdc = GetDC( 0 )) )
     815#endif
    812816    {
    813817        BITMAPINFO* pInfo;
     
    9981002             HeapFree( GetProcessHeap(), 0, pInfo );
    9991003        }
     1004#ifdef __WIN32OS2__
     1005        DeleteDC(hdc );
     1006#else
    10001007        ReleaseDC( 0, hdc );
     1008#endif
    10011009    }
    10021010
Note: See TracChangeset for help on using the changeset viewer.