dlls/winex11.drv/bitblt.c simplification

Gerald Pfeifer gerald at pfeifer.com
Sat Jun 21 13:13:00 CDT 2008


Gerald

ChangeLog:
Remove two unused parameters from BITBLT_GetSrcArea().

Index: dlls/winex11.drv/bitblt.c
===================================================================
RCS file: /home/wine/wine/dlls/winex11.drv/bitblt.c,v
retrieving revision 1.19
diff -u -3 -p -r1.19 bitblt.c
--- dlls/winex11.drv/bitblt.c	22 Apr 2008 11:50:09 -0000	1.19
+++ dlls/winex11.drv/bitblt.c	21 Jun 2008 18:11:13 -0000
@@ -909,7 +909,7 @@ static int BITBLT_GetSrcAreaStretch( X11
  * pixels to Windows colors.
  */
 static int BITBLT_GetSrcArea( X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physDevDst,
-                              Pixmap pixmap, GC gc, INT xSrc, INT ySrc, RECT *visRectSrc )
+                              Pixmap pixmap, GC gc, RECT *visRectSrc )
 {
     XImage *imageSrc, *imageDst;
     register INT x, y;
@@ -1443,7 +1443,7 @@ static BOOL BITBLT_InternalStretchBlt( X
                                       &visRectSrc, &visRectDst );
         else
             BITBLT_GetSrcArea( physDevSrc, physDevDst, pixmaps[SRC], tmpGC,
-                               xSrc, ySrc, &visRectSrc );
+                               &visRectSrc );
     }
 
     if (useDst) BITBLT_GetDstArea( physDevDst, pixmaps[DST], tmpGC, &visRectDst );



More information about the wine-patches mailing list