bug fix: fix reversed width and height params to StretchBlt

This commit is contained in:
ehouse 2009-01-17 15:45:24 +00:00
parent a56d84b64d
commit 2e488374f1

View file

@ -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 */