Ignore:
Timestamp:
Aug 27, 2001, 10:42:13 AM (24 years ago)
Author:
sandervl
Message:

FillRect fix for brush 0

File:
1 edited

Legend:

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

    r6401 r6599  
    1 /* $Id: user32.cpp,v 1.111 2001-07-29 18:59:27 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.112 2001-08-27 08:42:13 sandervl Exp $ */
    22
    33/*
     
    11341134int WIN32API FillRect(HDC hDC, const RECT * lprc, HBRUSH hbr)
    11351135{
     1136    //SvL: brush 0 means currently selected brush (verified in NT4)
     1137    if(hbr == 0) {
     1138        hbr = GetCurrentObject(hDC, OBJ_BRUSH);
     1139    }
     1140    else
    11361141    if (hbr <= (HBRUSH) (COLOR_MAX + 1)) {
    11371142        hbr = GetSysColorBrush( (INT) hbr - 1 );
Note: See TracChangeset for help on using the changeset viewer.