mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Fixed iType for non and file meta dc.
svn path=/trunk/; revision=24829
This commit is contained in:
@@ -50,6 +50,7 @@ typedef struct tagENHMETAFILE {
|
||||
PVOID pvMetaBuffer;
|
||||
HANDLE hFile; /* Handle for disk based MetaFile */
|
||||
DWORD Size;
|
||||
INT iType;
|
||||
PENHMETAHEADER emf;
|
||||
UINT handles_size, cur_handles;
|
||||
HGDIOBJ *handles;
|
||||
|
||||
@@ -254,10 +254,10 @@ HDC WINAPI CreateEnhMetaFileW(
|
||||
return NULL;
|
||||
}
|
||||
EmfDC.hFile = hFile;
|
||||
EmfDC->emf.iType = 2;
|
||||
EmfDC.iType = 2;
|
||||
}
|
||||
else
|
||||
EmfDC->emf.iType = 1;
|
||||
EmfDC.iType = 1;
|
||||
|
||||
return mDC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user