mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 20:07:17 +00:00
gdi32: Rename the struct representing an embedded WMF in an EMF.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
19d1416cef
commit
078f192c66
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue