Ignore:
Timestamp:
Apr 14, 2004, 11:44:36 AM (21 years ago)
Author:
sandervl
Message:

updates

File:
1 edited

Legend:

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

    r10374 r10583  
    1 /* $Id: oslibgpi.cpp,v 1.17 2004-01-11 11:42:19 sandervl Exp $ */
     1/* $Id: oslibgpi.cpp,v 1.18 2004-04-14 09:44:13 sandervl Exp $ */
    22
    33/*
     
    395395  BOOL rc = GpiSetAttrs(GetDCData(pHps)->hps,PRIM_LINE,LBB_COLOR,0,&lbNew);
    396396  if(rc == FALSE) {
    397       dprintf(("GpiSetAttrs/GpiSetPel failed with %x", WinGetLastError(0)));
     397      dprintf(("GpiSetAttrs failed with %x", WinGetLastError(0)));
    398398  }
    399399  else {
    400400      rc = GpiSetPel(GetDCData(pHps)->hps,(PPOINTL)pt) != GPI_ERROR;
    401       if(rc == FALSE && LOWORD(WinGetLastError(0)) == PMERR_INV_IN_PATH) {
    402           dprintf(("WARNING: GpiSetPel invalid in path; retrying with GpiLine"));
     401      if(rc == FALSE) {
     402          dprintf(("WARNING: GpiSetPel failed %x (invalid in path?); retrying with GpiLine", WinGetLastError(0)));
    403403          rc = GpiLine(GetDCData(pHps)->hps,(PPOINTL)pt) != GPI_ERROR;
    404404      }
Note: See TracChangeset for help on using the changeset viewer.