richedit: Fixed typo in bitmap scaling (for OLE objects).

oldstable
Eric Pouech 2008-03-16 21:46:20 +01:00 committed by Alexandre Julliard
parent 68ccc4aec6
commit 513fcfe48f
1 changed files with 2 additions and 2 deletions

View File

@ -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,