Changeset 7113 for trunk/src


Ignore:
Timestamp:
Oct 18, 2001, 7:01:34 PM (24 years ago)
Author:
sandervl
Message:

removed warning about GpiQueryBitmapBits

File:
1 edited

Legend:

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

    r6794 r7113  
    1 /* $Id: dibsect.cpp,v 1.57 2001-09-23 20:14:08 sandervl Exp $ */
     1/* $Id: dibsect.cpp,v 1.58 2001-10-18 17:01:34 sandervl Exp $ */
    22
    33/*
     
    679679        rc = GpiQueryBitmapBits(hdc, nYdest, nDestHeight, destBuf,
    680680                                tmphdr);
     681        if(rc == GPI_ALTERROR) {
     682            dprintf(("ERROR: GpiQueryBitmapBits failed with %x", WinGetLastError(0)));
     683        }
     684
    681685        //manually reverse bitmap data
    682686        char *src = destBuf;
     
    699703        rc = GpiQueryBitmapBits(hdc, nYdest, nDestHeight, destBuf,
    700704                                tmphdr);
    701 
    702         if(rc) {
     705        if(rc == GPI_ALTERROR) {
    703706            dprintf(("ERROR: GpiQueryBitmapBits failed with %x", WinGetLastError(0)));
    704707        }
Note: See TracChangeset for help on using the changeset viewer.