Rob Shearman : ole32:
The METAFILEPICT created by OleMetafilePictFromIconAndLabel should have
its mapping mode be anisotropic , not isotropic.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 4 07:16:54 CST 2006
Module: wine
Branch: master
Commit: f0e2ea54e09331d31e728d5ee548e734bcb9f982
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0e2ea54e09331d31e728d5ee548e734bcb9f982
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Dec 1 15:04:49 2006 +0000
ole32: The METAFILEPICT created by OleMetafilePictFromIconAndLabel should have its mapping mode be anisotropic, not isotropic.
---
dlls/ole32/ole32_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c
index 87ff539..b9c2b67 100644
--- a/dlls/ole32/ole32_main.c
+++ b/dlls/ole32/ole32_main.c
@@ -102,7 +102,7 @@ HGLOBAL WINAPI OleMetafilePictFromIconAn
ExtEscape(hdc, MFCOMMENT, strlen(szIconIndex)+1, szIconIndex, 0, NULL);
}
- mfp.mm = MM_ISOTROPIC;
+ mfp.mm = MM_ANISOTROPIC;
mfp.xExt = mfp.yExt = 0; /* FIXME ? */
mfp.hMF = CloseMetaFile(hdc);
if( !mfp.hMF )
More information about the wine-cvs
mailing list