From 513fcfe48ffc959fe9c1ed0cb675572fc2480c7d Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sun, 16 Mar 2008 21:46:20 +0100 Subject: [PATCH] richedit: Fixed typo in bitmap scaling (for OLE objects). --- dlls/riched20/richole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c index 1509d4e147..3d5e42f26b 100644 --- a/dlls/riched20/richole.c +++ b/dlls/riched20/richole.c @@ -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,