mirror of
https://github.com/reactos/wine.git
synced 2025-01-23 12:25:17 +00:00
richedit: Fixed typo in bitmap scaling (for OLE objects).
This commit is contained in:
parent
68ccc4aec6
commit
513fcfe48f
@ -682,9 +682,9 @@ void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run,
|
||||
}
|
||||
else
|
||||
{
|
||||
sz.cy = MulDiv(dibsect.dsBm.bmWidth,
|
||||
sz.cx = MulDiv(dibsect.dsBm.bmWidth,
|
||||
c->editor->nZoomNumerator, c->editor->nZoomDenominator);
|
||||
sz.cx = MulDiv(dibsect.dsBm.bmHeight,
|
||||
sz.cy = MulDiv(dibsect.dsBm.bmHeight,
|
||||
c->editor->nZoomNumerator, c->editor->nZoomDenominator);
|
||||
}
|
||||
StretchBlt(c->hDC, x, y - sz.cy, sz.cx, sz.cy,
|
||||
|
Loading…
x
Reference in New Issue
Block a user