Evan Stade : oleaut32: Slight correction to EMF rendering.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 2 06:23:07 CDT 2007
Module: wine
Branch: master
Commit: a55f233219c3877db9defd1c86c4046e869da76f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a55f233219c3877db9defd1c86c4046e869da76f
Author: Evan Stade <estade at gmail.com>
Date: Wed Aug 1 17:55:27 2007 -0700
oleaut32: Slight correction to EMF rendering.
---
dlls/oleaut32/olepicture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index e1c61b2..a7dc158 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -683,7 +683,7 @@ static HRESULT WINAPI OLEPictureImpl_Render(IPicture *iface, HDC hdc,
case PICTYPE_ENHMETAFILE:
{
- RECT rc = { x, y, cx, cy };
+ RECT rc = { x, y, x + cx, y + cy };
PlayEnhMetaFile(hdc, This->desc.u.emf.hemf, &rc);
break;
}
More information about the wine-cvs
mailing list