Ignore:
Timestamp:
May 6, 2003, 3:50:37 PM (22 years ago)
Author:
sandervl
Message:

ReleaseDC check if hwnd parameter is correct (WindowFromDC(hdc)); Messagebox: Wrong ReleaseDC call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/msgbox.c

    r7342 r10076  
    1 /* $Id: msgbox.c,v 1.6 2001-11-14 18:33:03 sandervl Exp $ */
     1/* $Id: msgbox.c,v 1.7 2003-05-06 13:50:36 sandervl Exp $ */
    22/*
    33 * Message boxes (based on Wine code)
     
    186186    if (hFont)
    187187        SelectObject(hdc, hPrevFont);
     188#ifdef __WIN32OS2__
     189    ReleaseDC(hwnd, hdc);
     190#else
    188191    ReleaseDC(hItem, hdc);
     192#endif
    189193
    190194    tiheight = 16 + MAX(iheight, theight);
Note: See TracChangeset for help on using the changeset viewer.