Ignore:
Timestamp:
Jun 16, 2000, 2:06:51 AM (25 years ago)
Author:
phaller
Message:

some fixes

File:
1 edited

Legend:

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

    r3709 r3714  
    1 /* $Id: region.cpp,v 1.7 2000-06-14 14:26:59 sandervl Exp $ */
     1/* $Id: region.cpp,v 1.8 2000-06-16 00:05:49 phaller Exp $ */
    22
    33/*
     
    7070    if(hwnd == 0 && pHps != 0)
    7171        hwnd = pHps->hwnd;
    72 
    73     if(hwnd != 0 || pHps == 0)
     72 
     73    // @@@pH Note: hwnd == 0 == HWND_DESKTOP !
     74    // if(hwnd != 0 || pHps == 0)
     75    if (pHps == 0)
    7476    {
    7577        RECT rect;
     
    115117    if(hwnd == 0 && pHps != 0)
    116118        hwnd = pHps->hwnd;
    117 
    118     if(hwnd != 0 || pHps == 0)
     119 
     120    // @@@pH Note: hwnd == 0 == HWND_DESKTOP !
     121    // if(hwnd != 0 || pHps == 0)
     122    if (pHps == 0)
    119123    {
    120124        RECT rect;
     
    134138        return x;
    135139   }
    136    else DebugInt3();
     140   else
     141     DebugInt3();
    137142   return 0;
    138143}
Note: See TracChangeset for help on using the changeset viewer.