Commit 003392b5 authored by Kirill K. Smirnov's avatar Kirill K. Smirnov Committed by Alexandre Julliard

gdi32: Fix copy/paste typo.

parent abf5048b
......@@ -913,7 +913,7 @@ BOOL WINAPI PlayMetaFileRecord( HDC hdc, HANDLETABLE *ht, METARECORD *mr, UINT
case META_DIBSTRETCHBLT:
{
LPBITMAPINFO info = (LPBITMAPINFO) &(mr->rdParm[10]);
LPSTR bits = (LPSTR)info + bitmap_info_size( info, mr->rdParm[2] );
LPSTR bits = (LPSTR)info + bitmap_info_size( 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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment