Huw Davies : gdi32: Rename the struct representing an embedded WMF in an EMF.
Alexandre Julliard
julliard at winehq.org
Wed Jun 8 11:07:36 CDT 2016
Module: wine
Branch: master
Commit: 078f192c669212e58b3b211712b0f88d61a4b225
URL: http://source.winehq.org/git/wine.git/?a=commit;h=078f192c669212e58b3b211712b0f88d61a4b225
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Jun 8 11:00:47 2016 +0100
gdi32: Rename the struct representing an embedded WMF in an EMF.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdi32/enhmetafile.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c
index c251b4e..cab30e9 100644
--- a/dlls/gdi32/enhmetafile.c
+++ b/dlls/gdi32/enhmetafile.c
@@ -2739,7 +2739,7 @@ done:
return emf;
}
-typedef struct gdi_mf_comment
+typedef struct wmf_in_emf_comment
{
DWORD ident;
DWORD iComment;
@@ -2747,7 +2747,7 @@ typedef struct gdi_mf_comment
DWORD nChecksum;
DWORD fFlags;
DWORD cbWinMetaFile;
-} gdi_mf_comment;
+} wmf_in_emf_comment;
/******************************************************************
* SetWinMetaFileBits (GDI32.@)
@@ -2830,10 +2830,10 @@ HENHMETAFILE WINAPI SetWinMetaFileBits(UINT cbBuffer, const BYTE *lpbBuffer, HDC
*/
if (mm != MM_TEXT)
{
- gdi_mf_comment *mfcomment;
+ wmf_in_emf_comment *mfcomment;
UINT mfcomment_size;
- mfcomment_size = sizeof (gdi_mf_comment) + cbBuffer;
+ mfcomment_size = sizeof (*mfcomment) + cbBuffer;
mfcomment = HeapAlloc(GetProcessHeap(), 0, mfcomment_size);
if (mfcomment)
{
More information about the wine-cvs
mailing list