Huw Davies : gdi32: Use the unicode version of CreateMetaFile.
Module: wine Branch: master Commit: d7af14f1b57a17e538b764d9575980134753df83 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7af14f1b57a17e538b764d957... Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Jun 29 13:46:33 2009 +0100 gdi32: Use the unicode version of CreateMetaFile. --- dlls/gdi32/metafile.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdi32/metafile.c b/dlls/gdi32/metafile.c index ea75ae8..ed3d16b 100644 --- a/dlls/gdi32/metafile.c +++ b/dlls/gdi32/metafile.c @@ -1166,7 +1166,7 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf, TRACE("(%p,%d,%p,%d,%p) rc=%s\n", hemf, cbBuffer, lpbBuffer, fnMapMode, hdcRef, wine_dbgstr_rect(&rc)); - hdcmf = CreateMetaFileA(NULL); + hdcmf = CreateMetaFileW(NULL); PlayEnhMetaFile(hdcmf, hemf, &rc); hmf = CloseMetaFile(hdcmf); ret = GetMetaFileBitsEx(hmf, cbBuffer, lpbBuffer);
participants (1)
-
Alexandre Julliard