RESEND: gdi: metafile copy/paste typo fix
lich_at_math
lich at math.spbu.ru
Tue Aug 8 07:47:11 CDT 2006
On Tue, 8 Aug 2006 12:33:03 +0400 (MSD), HolyLich <lich at math.spbu.ru> wrote:
>
> Hi,
> ChangeLog:
> Correct copy/paste typo.
>
>
Correctly attached patch
Index: dlls/gdi/metafile.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/metafile.c,v
retrieving revision 1.15
diff -u -p -r1.15 metafile.c
--- dlls/gdi/metafile.c 23 May 2006 12:47:58 -0000 1.15
+++ dlls/gdi/metafile.c 8 Aug 2006 12:42:08 -0000
@@ -892,7 +892,7 @@ BOOL WINAPI PlayMetaFileRecord( HDC hdc,
case META_DIBSTRETCHBLT:
{
LPBITMAPINFO info = (LPBITMAPINFO) &(mr->rdParm[10]);
- LPSTR bits = (LPSTR)info + DIB_BitmapInfoSize( info, mr->rdParm[2] );
+ LPSTR bits = (LPSTR)info + DIB_BitmapInfoSize( info, DIB_RGB_COLORS);
StretchDIBits( hdc, (SHORT)mr->rdParm[9], (SHORT)mr->rdParm[8], (SHORT)mr->rdParm[7],
(SHORT)mr->rdParm[6], (SHORT)mr->rdParm[5], (SHORT)mr->rdParm[4],
(SHORT)mr->rdParm[3], (SHORT)mr->rdParm[2], bits, info,
More information about the wine-patches
mailing list