Changeset 10583 for trunk/src


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

updates

Location:
trunk/src/gdi32
Files:
3 edited

Legend:

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

    r10582 r10583  
    1 /* $Id: opengl.cpp,v 1.11 2004-04-14 09:44:13 sandervl Exp $ */
     1/* $Id: opengl.cpp,v 1.12 2004-04-14 09:44:36 sandervl Exp $ */
    22
    33/*
  • 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      }
  • trunk/src/gdi32/palette.cpp

    r10374 r10583  
    1 /* $Id: palette.cpp,v 1.12 2004-01-11 11:42:20 sandervl Exp $ */
     1/* $Id: palette.cpp,v 1.13 2004-04-14 09:44:14 sandervl Exp $ */
    22
    33/*
     
    138138//******************************************************************************
    139139//******************************************************************************
    140 UINT WIN32API SetPaletteEntries( HPALETTE hPalette, UINT arg2, UINT arg3, PALETTEENTRY * arg4)
     140UINT WIN32API SetPaletteEntries( HPALETTE hPalette, UINT arg2, UINT arg3, const PALETTEENTRY * arg4)
    141141{
    142142    dprintf(("GDI32: SetPaletteEntries %x %d-%d %x", hPalette, arg2, arg3, arg4));
     
    167167                Palette.aEntries[i].peGreen = g * 51;
    168168                Palette.aEntries[i].peBlue = b * 51;
    169             }   
     169            }
    170170          }
    171171        }
Note: See TracChangeset for help on using the changeset viewer.