gdi32: Fix copy/paste typo.

This commit is contained in:
Kirill K. Smirnov 2008-10-30 19:31:52 +04:00 committed by Alexandre Julliard
parent abf5048bc6
commit 003392b545
1 changed files with 1 additions and 1 deletions

View File

@ -913,7 +913,7 @@ BOOL WINAPI PlayMetaFileRecord( HDC hdc, HANDLETABLE *ht, METARECORD *mr, UINT
case META_DIBSTRETCHBLT: case META_DIBSTRETCHBLT:
{ {
LPBITMAPINFO info = (LPBITMAPINFO) &(mr->rdParm[10]); 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], 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[6], (SHORT)mr->rdParm[5], (SHORT)mr->rdParm[4],
(SHORT)mr->rdParm[3], (SHORT)mr->rdParm[2], bits, info, (SHORT)mr->rdParm[3], (SHORT)mr->rdParm[2], bits, info,