Fixed iType for non and file meta dc.

svn path=/trunk/; revision=24829
This commit is contained in:
James Tabor
2006-11-26 00:53:07 +00:00
parent ad91a665c4
commit 313154b380
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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;
+2 -2
View File
@@ -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;
}