From 3b87fe97df3268f6a462c3b247cb1709b5970245 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Fri, 1 Dec 2006 15:05:45 +0000 Subject: [PATCH] ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel. --- dlls/ole32/ole32_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c index c15c3e8524b..328a972dda6 100644 --- a/dlls/ole32/ole32_main.c +++ b/dlls/ole32/ole32_main.c @@ -97,6 +97,7 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel, else width = icon_width; + SetMapMode(hdc, MM_ANISOTROPIC); SetWindowOrgEx(hdc, 0, 0, NULL); SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);