Ignore:
Timestamp:
Aug 13, 2002, 4:45:37 PM (23 years ago)
Author:
sandervl
Message:

SelectObject bugfix for region handles. (fixes crash in Freecell)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/objhandle.cpp

    r8907 r8995  
    1 /* $Id: objhandle.cpp,v 1.26 2002-07-22 13:18:11 sandervl Exp $ */
     1/* $Id: objhandle.cpp,v 1.27 2002-08-13 14:45:37 sandervl Exp $ */
    22/*
    33 * Win32 Handle Management Code for OS/2
     
    374374    handleType = GetObjectType(hObj);
    375375    dprintf2(("GDI32: SelectObject %x %x type %s", hdc, hObj, DbgGetGDITypeName(handleType)));
    376     if(handleType == HNDL_REGION) {
     376    if(handleType == OBJ_REGION) {
    377377        //Return complexity here; not previously selected clip region
    378378        return (HGDIOBJ)SelectClipRgn(hdc, hObj);
Note: See TracChangeset for help on using the changeset viewer.