mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
bug fix: fix reversed width and height params to StretchBlt
This commit is contained in:
parent
a56d84b64d
commit
2e488374f1
1 changed files with 1 additions and 1 deletions
|
@ -1286,7 +1286,7 @@ ceDrawBitmapInRect( HDC hdc, const RECT* rect, HBITMAP bitmap )
|
|||
top += ((rect->bottom - top) - height) / 2;
|
||||
|
||||
StretchBlt( hdc, left, top, width, height,
|
||||
tmpDC, 0, 0, bmp.bmHeight, bmp.bmWidth, SRCCOPY );
|
||||
tmpDC, 0, 0, bmp.bmWidth, bmp.bmHeight, SRCCOPY );
|
||||
DeleteDC( tmpDC );
|
||||
}
|
||||
} /* ceDrawBitmapInRect */
|
||||
|
|
Loading…
Reference in a new issue