Commit 513fcfe4 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent 68ccc4ae
...@@ -682,9 +682,9 @@ void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run, ...@@ -682,9 +682,9 @@ void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run,
} }
else else
{ {
sz.cy = MulDiv(dibsect.dsBm.bmWidth, sz.cx = MulDiv(dibsect.dsBm.bmWidth,
c->editor->nZoomNumerator, c->editor->nZoomDenominator); c->editor->nZoomNumerator, c->editor->nZoomDenominator);
sz.cx = MulDiv(dibsect.dsBm.bmHeight, sz.cy = MulDiv(dibsect.dsBm.bmHeight,
c->editor->nZoomNumerator, c->editor->nZoomDenominator); c->editor->nZoomNumerator, c->editor->nZoomDenominator);
} }
StretchBlt(c->hDC, x, y - sz.cy, sz.cx, sz.cy, StretchBlt(c->hDC, x, y - sz.cy, sz.cx, sz.cy,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment