[PATCH 06/18] [RichEdit]: Fixed typo in bitmap scaling (for OLE objects)
Eric Pouech
eric.pouech at orange.fr
Sun Mar 16 15:46:20 CDT 2008
A+
---
dlls/riched20/richole.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
index 1509d4e..3d5e42f 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,
More information about the wine-patches
mailing list